Skip to content

Commit

Permalink
Update README_config_vnf.md
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo14 authored Oct 19, 2016
1 parent 49fc041 commit e1dc7bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README_config_vnf.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
* ```jsoned_yang_model``` + ```json_state```: DOM HTML(input text, optional input, ...) created from jsoned_yang_model and then filled with the content of the json_state
* ```jsoned_yang_model``` + ```undefined state``` -> same as before but this time, the state is created as the GUI is depicted.

Note: the ```jsoned_yang_model``` is the JSON version of a yang model created by the server that handles VNF models.
Note: the ```jsoned_yang_model``` is the JSON version of a YANG model created by the server that handles VNF models.

Once loaded the model and optionally the state in two scope variable, the modal is then opened and depicted exploiting angular directives. In other words, each yang statement is modeled with an angular directive.
Once loaded the model and optionally the state in two scope variable, the modal is then opened and depicted exploiting angular directives. In other words, each YANG statement is modeled with an angular directive.

The configuration state changes modifying the input values on the graphic interface thanks to the 2-way binding of angular.

E.g. yang model:
E.g. YANG model:
```
container interfaces {
list ifEntry {
Expand Down Expand Up @@ -49,7 +49,7 @@
The ```list``` statement needs to handle a list of leaves, so every time I define a list tag, I automatically generate a list of leaves.
Same behavior for the ```leaf``` where according to the type of leaf: string, enumeration, ip-address; it generates either an input text or an optional input.

In general, the supported yang statements are:
In general, the supported YANG statements are:
* container
* list
* leaf
Expand Down

0 comments on commit e1dc7bb

Please sign in to comment.