+ }\r
+ }\r
+ }\r
+ grouping vnf-path-information {\r
+ leaf vnf-instance-id {\r
+ description "VNF instance ID in the path";\r
+ type string;\r
+ }\r
+ leaf vnf-path-sequence-id {\r
+ description "Sequence ID at the VNF instance levele.g. e.g. V1V2V3V5V6seq id=1 V1-V2seq id=2 V2V3seq id=3 V3V5seq id=4 V5V6incremental integer value.";\r
+ type uint32;\r
+ }\r
+ leaf left-network-name {\r
+ description "Every VNF instance in the path is connected to one or two VNFs.";\r
+ type string;\r
+ }\r
+ leaf left-network-role {\r
+ type string;\r
+ }\r
+ leaf right-network-name {\r
+ type string;\r
+ }\r
+ leaf right-network-role {\r
+ type string;\r
+ }\r
+ container vf-module-instance {\r
+ leaf vf-module-id {\r
+ type string;\r
+ }\r
+ leaf vf-module-name {\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ grouping forwarding-path-level-oper-status { \r
+ container forwarding-path-level-oper-status { \r
+ uses oper-status-data; \r
+ } \r
+ }\r
+ grouping configuration-info {\r
+ leaf configuration-id {\r
+ type string;\r
+ }\r
+ leaf configuration-type {\r
+ description "Not an enum, but expected values are port-mirror-configuration, , vlan-network-receptor";\r
+ type string;\r
+ }\r
+ leaf configuration-sub-type {\r
+ description "Not an enum, but expected values are vprobe and pprobe";\r
+ type string;\r
+ }\r
+ leaf configuration-topology-link {\r
+ description "Pointer to the configurations topology";\r
+ type string;\r
+ }\r
+ }\r
+ grouping vnfc-instance-group {\r
+ list vnfc-instance-group {\r
+ key "instance-group-role nfc-naming-code configuration-id";\r
+ leaf instance-group-role {\r
+ description "i.e.TSBC_VNFC_group";\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf nfc-naming-code {\r
+ description "Set to nfc-naming-code from A&AI";\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf configuration-id {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf group-type {\r
+ description " port-mirror-source or port-mirror-dest";\r
+ type string;\r
+ }\r
+ uses vnfc-objects;\r
+ }\r
+ }\r
+ grouping vnfc-objects {\r
+ container vnfc-objects {\r
+ list vnfc-object {\r
+ key "vnfc-key";\r
+ leaf vnfc-key {\r
+ type string;\r
+ }\r
+ leaf vnfc-name {\r
+ description "Vnfc name as key in A&AI";\r
+ type string;\r
+ }\r
+ leaf vm-type {\r
+ type string;\r
+ }\r
+ leaf vnf-id {\r
+ type string;\r
+ }\r
+ leaf vserver-name {\r
+ type string;\r
+ }\r
+ leaf vserver-id {\r
+ type string;\r
+ }\r
+ container vnics {\r
+ list vnic {\r
+ key "vnic-port-name";\r
+ leaf vnic-port-name {\r
+ type string;\r
+ }\r
+ leaf vnic-port-id {\r
+ type string;\r
+ }\r
+ container capacity {\r
+ leaf vnic-capacity {\r
+ type uint32;\r
+ }\r
+ leaf used-capacity {\r
+ description "Updated for destination port when source port is mapped/unmapped.";\r
+ type uint32;\r
+ }\r
+ }\r
+ container vnic-ip-addresses {\r
+ uses ip-addresses;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping vnfcs {\r
+ container vnfcs {\r
+ list vnfc {\r
+ key "vnfc-name";\r
+ leaf vnfc-name {\r
+ description "Vnfc name as key in A&AI";\r
+ type string;\r
+ }\r
+ leaf vserver-name {\r
+ type string;\r
+ }\r
+ leaf vserver-id {\r
+ type string;\r
+ }\r
+ uses vnics;\r
+ }\r
+ }\r
+ }\r
+ grouping vnics {\r
+ container vnics {\r
+ list vnic {\r
+ key "vnic-port-name";\r
+ leaf vnic-port-name {\r
+ type string;\r
+ }\r
+ leaf vnic-port-id {\r
+ type string;\r
+ }\r
+ uses sub-interfaces;\r
+ }\r
+ }\r
+ }\r
+ grouping sub-interfaces {\r
+ container sub-interfaces {\r
+ list sub-interface {\r
+ key "sub-interface-port-name";\r
+ leaf sub-interface-port-name {\r
+ type string;\r
+ }\r
+ leaf sub-interface-port-id {\r
+ type string;\r
+ }\r
+ container sub-interface-ip-addresses {\r
+ uses ip-addresses;\r
+ }\r
+ uses vlan-tags;\r
+ container sub-interface-network {\r
+ leaf network-name {\r
+ type string;\r
+ }\r
+ leaf network-id {\r
+ type string;\r
+ }\r
+ }\r
+ leaf sub-interface-status {\r
+ description "NULL, unassigned, assigned";\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping vlan-tags {\r
+ container vlan-tags {\r
+ leaf vlan-interface {\r
+ description "A&AI Key";\r
+ type string;\r
+ }\r
+ leaf upper-tag-id {\r
+ type uint32;\r
+ }\r
+ leaf lower-tag-id {\r
+ type uint32;\r
+ }\r
+ leaf is-private {\r
+ type boolean;\r
+ }\r
+ }\r
+ }\r
+ grouping vlan-vnfc-instance-groups {\r
+ container vlan-vnfc-instance-groups {\r
+ list vlan-vnfc-instance-group {\r
+ key "instance-group-id";\r
+ leaf instance-group-id {\r
+ description "A&AI ID";\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf instance-group-function {\r
+ type string;\r
+ }\r
+ leaf vnf-id {\r
+ type string;\r
+ }\r
+ container vnfcs {\r
+ list vnfc {\r
+ key "vnfc-name";\r
+ leaf vnfc-name {\r
+ type string;\r
+ }\r
+ uses vnic-groups;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping vnic-groups {\r
+ container vnic-groups {\r
+ list vnic-group {\r
+ key "vnic-interface-role";\r
+ leaf vnic-interface-role {\r
+ description "Same as network-role of network where vnic is connected";\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf network-instance-group-function {\r
+ description "network-instance-Group-function for network collection where vnics with vnic-interface-role will connect";\r
+ type string;\r
+ } \r
+ leaf vlan-assignment-policy-name {\r
+ description "Policy name in ASDC model & policy definition in Policy Engine";\r
+ type string;\r
+ }\r
+ leaf vlan-tag-index-next {\r
+ description "Next tag to be assigned";\r
+ type uint32;\r
+ }\r
+ container vlan-common-ip-addresses {\r
+ uses ip-addresses;\r
+ }\r
+ container vlan-vnics {\r
+ list vlan-vnic {\r
+ key "vnic-port-id";\r
+ leaf vnic-port-id {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ container vnic-sub-interfaces {\r
+ uses sub-interface-network-data;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping vnf-network-collection {\r
+ list vnf-network-collection {\r
+ key "network-instance-group-function";\r
+ leaf network-instance-group-function {\r
+ description "Network Instance-Group function in A&AI";\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf network-instance-group-id {\r
+ description "Network Instance-Group id in A&AI";\r
+ type string;\r
+ }\r
+ leaf network-collection-service-instance-id {\r
+ description "Service-instance-id of service that created the network collection";\r
+ type string;\r
+ }\r
+ leaf network-collection-customization-uuid {\r
+ description "network-collection-customization-uuid stored in Network IsntanceGroup.customization-uuid in A&AI";\r
+ type string;\r
+ }\r
+ container networks {\r
+ list network {\r
+ key "network-id";\r
+ leaf network-id {\r
+ description "Index into network-topology-identifier structure";\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf neutron-network-id {\r
+ description "Neutron-network-id assigned by PO/RO";\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ container vnf-floating-ip {\r
+ uses ip-addresses;\r
+ }\r
+ }\r
+ }\r
+ grouping vnf-sub-interface-group {\r
+ list vnf-sub-interface-group {\r
+ key "vnfc-instance-group-function network-instance-group-function parent-port-role";\r
+ leaf vnfc-instance-group-function {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf network-instance-group-function {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf parent-port-role {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ uses vnfcs;\r
+ container customer-bonding-requests {\r
+ list customer-bonding-request {\r
+ key "configuration-id";\r
+ leaf configuration-id {\r
+ description "e.g. vlan network receptor configuration id";\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping sub-interface-network-data {\r
+ list sub-interface-network-data {\r
+ key "network-id";\r
+ leaf network-id {\r
+ description "Subinterface network id (UUID in A&AI)";\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf neutron-network-id {\r
+ description "Neutron network id assigned by PO/RP";\r
+ type string;\r
+ }\r
+ leaf network-name {\r
+ description "Subinterface network name";\r
+ type uint32;\r
+ }\r
+ leaf vlan-tag-id {\r
+ description "Vlan tag assigned to subinterface port";\r
+ type uint32;\r
+ }\r
+ leaf network-role {\r
+ description "e.g. untrusted ";\r
+ type string;\r
+ }\r
+ leaf network-role-tag {\r
+ description "Assuming HEAT template network role tag parameter - not used";\r
+ type string;\r
+ }\r
+ container network-information-items {\r
+ list network-information-item {\r
+ key "ip-version";\r
+ leaf ip-version {\r
+ description "Use ipv4 or ipv6";\r
+ type string;\r
+ }\r
+ leaf use-dhcp {\r
+ description "Indicator to use DHCP on this network for this VM - set to N for Vlan tagging";\r
+ type enumeration {\r
+ enum "Y";\r
+ enum "N";\r
+ }\r
+ }\r
+ leaf ip-count {\r
+ description "The number of ip addresses to be assigned per vm for this network role";\r
+ type uint8;\r
+ }\r
+ container network-ips {\r
+ leaf-list network-ip {\r
+ description "List of assigned ip addresses of type ip-version on a network.";\r
+ type inet:ip-address;\r
+ ordered-by user;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ container floating-ips {\r
+ leaf-list floating-ip-v4 {\r
+ description "Floating ipv4 for VMs of a given type on this network";\r
+ type inet:ip-address;\r
+ ordered-by user;\r
+ }\r
+ leaf-list floating-ip-v6 {\r
+ description "Floating ipv6 for VMs of a given type on this network";\r
+ type inet:ipv6-address;\r
+ ordered-by user;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping vnf-cloud-param {\r
+ leaf service-instance-id {\r
+ type string;\r
+ }\r
+ leaf service-instance-name {\r
+ type string;\r
+ }\r
+ list vnf {\r
+ key "vnf-id";\r
+ leaf vnf-id {\r
+ type string;\r
+ }\r
+ leaf vnf-name {\r
+ type string;\r
+ }\r
+ uses param;\r
+ list vf-module {\r
+ key "vf-module-id";\r
+ leaf vf-module-id {\r
+ type string;\r
+ }\r
+ uses param;\r
+ }\r
+ }\r
+ }\r
+ grouping vnf-get-resource-request-input-data {\r
+ list vnf {\r
+ key "vnf-id";\r
+ leaf vnf-id {\r
+ type string;\r
+ }\r
+ list vf-module {\r
+ key "vf-module-id";\r
+ leaf vf-module-id {\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping license-information {\r
+ container license-information {\r
+ list entitlement-pool-list {\r
+ key "entitlement-pool-uuid action";\r
+ leaf entitlement-pool-uuid {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf action {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf entitlement-pool-invariant-uuid {\r
+ type string;\r
+ }\r
+ leaf entitlement-uuid {\r
+ description "assigned by ALTS";\r
+ type string;\r
+ }\r
+ }\r
+ list license-key-group-list {\r
+ key "license-key-group-uuid action";\r
+ leaf license-key-group-uuid {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf action {\r
+ type string;\r
+ mandatory true;\r
+ }\r
+ leaf license-key-group-invariant-uuid {\r
+ type string;\r
+ }\r
+ leaf license-key {\r
+ description "assigned by ALTS";\r
+ type string;\r
+ }\r
+ leaf license-uuid {\r
+ description "assigned by ALTS";\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping related-network {\r
+ list related-network {\r
+ key "network-id";\r
+ leaf network-id {\r
+ description "Key to l3-network object";\r
+ type string;\r
+ }\r
+ leaf network-role {\r
+ type string;\r
+ }\r
+ uses vlan-tags;\r
+ }\r
+ }\r
+ grouping connection-point {\r
+ container connection-point {\r
+ leaf connection-point-id {\r
+ description "Key to CP object in A&AI";\r
+ type string;\r
+ }\r
+ leaf port-id {\r
+ description "port-index when multiple CPs connect to same network. Default zero (0)";\r
+ type string;\r
+ }\r
+ list vlan-data {\r
+ key "vlan-uuid";\r
+ leaf vlan-uuid {\r
+ description "Key to vlan-tag uuid object in A&AI Generated by vlan mS";\r
+ type string;\r
+ }\r
+ leaf vlan-tag-id {\r
+ type string;\r
+ }\r
+ leaf vlan-tag-description {\r
+ type string;\r
+ }\r
+ leaf vlan-role {\r
+ description "Inner/Outer roles";\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ grouping aggregate-routes {\r
+ list aggregate-routes {\r
+ key "route-id";\r
+ leaf route-id {\r
+ description "Unique id";\r
+ type string;\r
+ }\r
+ leaf start-address {\r
+ type inet:ip-address;\r
+ }\r
+ leaf cidr-mask {\r
+ type string;\r
+ }\r
+ leaf ip-version {\r
+ description "Use values 4 or 6.";\r
+ type string;\r
+ }\r
+ }\r
+ }\r
+ grouping pnf-information {\r
+ container pnf-information {\r
+ leaf pnf-name {\r
+ description "Key for A&AI query";\r
+ type string;\r
+ }\r
+ leaf pnf-type {\r
+ type string;\r
+ }\r
+ uses onap-model-information;\r
+ }\r
+ }\r
+ grouping contrail-route-operation-information {\r
+ uses sdnc-request-header;\r
+ uses request-information;\r
+ uses service-information;\r
+ uses allotted-resource-information;\r
+ uses contrail-route-request-input;\r
+ }\r
+ grouping contrail-route-request-input {\r
+ container contrail-route-request-input {\r
+ container source-network {\r
+ uses network-info;\r
+ }\r
+ container dest-network {\r
+ uses network-info;\r
+ }\r
+ container contrail-applied-service-info {\r
+ leaf service-instance-id {\r
+ description "The service-instance-id of the service in which the resource(s) providing the applied-service are. For vIPR, this is the service-instance-id of the vIPR-ATM service in which the vIPR-ATM VNF Contrail service is the applied service. MSO will populate with the input data.";\r
+ type string;\r
+ }\r
+ leaf contrail-fqdn {\r
+ description "For future use by MSO on input; MSO not expected to populate in 1707. If MSO can identify the contrail-fqdn of the Contrail applied service for this contrail-route, then it would be specified here on input. Otherwise, SDN-C will look it up by the vIPR-ATM VNF in the service-instance-id of the contrail-applied-service-info grouing.";\r
+ type string;\r
+ }\r
+ }\r
+ container contrail-route-input-parameters {\r
+ uses param;\r
+ }\r
+ }\r
+ }\r
+ grouping network-info {\r
+ leaf network-id {\r
+ type string;\r
+ }\r
+ leaf network-role {\r
+ type string;\r
+ }\r
+ }\r
+ grouping contrail-route-topology {\r
+ container contrail-route-topology {\r
+ uses allotted-resource-identifiers;\r
+ uses onap-model-information;\r
+ uses contrail-route-assignments;\r
+ container contrail-route-parameters {\r
+ uses param;\r
+ }\r
+ }\r
+ }\r
+ grouping contrail-route-assignments {\r
+ container contrail-route-assignments {\r
+ leaf fq-name {\r
+ description "The Contrail fq-name of the network policy";\r
+ type string;\r
+ }\r
+ leaf contrail-id {\r
+ description "The ID assigned by Contrail to the network-policy (one for one with the fq-name)";\r
+ type string;\r
+ }\r
+ container source-network {\r
+ uses network-info;\r
+ }\r
+ container dest-network {\r
+ uses network-info;\r
+ }\r
+ container contrail-applied-service {\r
+ leaf service-instance-id {\r
+ description "The service-instance-id of the vnf from which the contrail applied service is coming";\r
+ type string;\r
+ }\r
+ leaf vnf-id {\r
+ description "The vnf representing the contrail applied service";\r