Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added parent CP, capability on parent VL, relationship

...

  1. VLs can be divided into logically separated sub-VLs (VLANs)
  2. The "trunk" VL and a "sub" VL would be represented with two nodes:
    1. Both of the onap.nodes.VL type
    2. The relationship between the two nodes is specified using the "division" capability/requirement pair, capability type onap.capabilities.VL.Division
  3. No need to introduce to the model the concept of a sub-CP. Linking a CP to a "sub" VL node is what makes the CP a "sub" CP

...

Code Block
linenumberstrue
node_templates:
  vl_1:
    type: VL
    capabilities: # chesla added
      - divideable:
          capability: division
    
  sub_vl_1:
    type: VL
    requirements:
      - division:
          node: vl_1
          capability: division
          relationship: divides
          
  sub_vl_2:
    type: VL
    requirements:
      - division:
          node: vl_1
          capability: division
          relationship: divides 
  cp_1:
    type: CP
    requirements:
      - link:
          node: sub_vl_1
          capability: link
      - bind: 
        # bound to some node
          
  cp_2:
    type: CP
    requirements:
      - link:
          node: sub_vl_2 # Chesla changed this from sub_vl_1 to sub_vl_2
          capability: link
      - bind: 
        # bound to some node

  cp_P:  # Chesla = represents parent port?
    type: CP
    requirements:
      - link:
          node: vl_1
      - bind:
        # bound to some node and representing the physical port or vnic?