Versions Compared

Key

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

...

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?