Skip to content

Added xApp policy ratio parameters to the slice config and updated api#227

Open
sureshmarikkannu wants to merge 2 commits intoonosproject:masterfrom
sureshmarikkannu:roc_xapp
Open

Added xApp policy ratio parameters to the slice config and updated api#227
sureshmarikkannu wants to merge 2 commits intoonosproject:masterfrom
sureshmarikkannu:roc_xapp

Conversation

@sureshmarikkannu
Copy link
Copy Markdown

We added new parameters like policy ratios to the slice configuration which will be pushed to the RAN( xApp).
Also we added an endpoint parameter to the site which is used to configure the xApp endpoint URL

Updated api repo using the latest aether-models.

Signed-off-by: Marikkannu, Suresh <suresh.marikkannu@intel.com>
@onf-bot
Copy link
Copy Markdown

onf-bot commented Oct 13, 2023

test this please

@gab-arrobo
Copy link
Copy Markdown

gab-arrobo commented Dec 28, 2023

retest this please

title: application-id
type: string
x-go-type: ListKey
x-yang-type: application-id
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this new variable, the Test_ValidateRequestGivesError test is failing. Try to make sure that your changes do not break the code (and tests)

diff --git a/pkg/toplevel/server/validation_test.go b/pkg/toplevel/server/validation_test.go
index 60cb145..6dfc17b 100644
--- a/pkg/toplevel/server/validation_test.go
+++ b/pkg/toplevel/server/validation_test.go
@@ -65,7 +65,8 @@ Schema:
     "maxLength": 1024,
     "minLength": 1,
     "title": "description",
-    "type": "string"
+    "type": "string",
+    "x-yang-type": "description"
   }

 Value:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Copy Markdown

@SeanCondon SeanCondon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be possible to run make generated and then make test and not get any errors.
I think there is some technical debt on master because of link rot or module rot that will have to be fixed.

Due to compiler version change the target values are not populated
as expected. It causes few tests to fail due to tagrget mismatch.
Updated the tests to resolve the same.

Signed-off-by: Marikkannu, Suresh <suresh.marikkannu@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants