Commit 14a51afb authored by Javier Velázquez's avatar Javier Velázquez
Browse files

New Flag DATAPLANE_SUPPORT

New FRR connector
New tests
parent c7286876
Loading
Loading
Loading
Loading
+296 −0
Original line number Diff line number Diff line
{
  "ietf-network-slice-service:network-slice-services": {
    "slo-sle-templates": {
      "slo-sle-template": [
        {
          "id": "gold",
          "description": "",
          "slo-policy": {
            "metric-bound": [
              {
                "metric-type": "two-way-bandwidth",
                "metric-unit": "Mbps",
                "bound": 100
              },
              {
                "metric-type": "two-way-delay-maximum",
                "metric-unit": "milliseconds",
                "bound": 5
              }
            ]
          },
          "sle-policy": {
            "security": "",
            "isolation": "",
            "path-constraints": {
              "service-functions": {},
              "diversity": {
                "diversity-type": ""
              }
            }
          }
        },
        {
          "id": "silver",
          "description": "",
          "slo-policy": {
            "metric-bound": [
              {
                "metric-type": "two-way-bandwidth",
                "metric-unit": "Mbps",
                "bound": 10
              },
              {
                "metric-type": "two-way-delay-maximum",
                "metric-unit": "milliseconds",
                "bound": 20
              }
            ]
          },
          "sle-policy": {
            "security": "",
            "isolation": "",
            "path-constraints": {
              "service-functions": {},
              "diversity": {
                "diversity-type": ""
              }
            }
          }
        },
        {
          "id": "bronze",
          "description": "",
          "slo-policy": {
            "metric-bound": [
              {
                "metric-type": "two-way-bandwidth",
                "metric-unit": "Mbps",
                "bound": 1
              },
              {
                "metric-type": "two-way-delay-maximum",
                "metric-unit": "milliseconds",
                "bound": 20
              }
            ]
          },
          "sle-policy": {
            "security": "",
            "isolation": "",
            "path-constraints": {
              "service-functions": {},
              "diversity": {
                "diversity-type": ""
              }
            }
          }
        }
      ]
    },
    "slice-service": [
      {
        "id": "unity-transport-slice",
        "description": "Transport network slice service comprising three paths with three different slo templates. SDPs are matched by DSCP of incoming traffic",
        "service-tags": {
            "tag-type": [
              {
                "tag-type": "service",
                "tag-type-value": [
                  "L3"
                ]
              }
            ]
        },
        "slo-sle-template": "bronze",
        "status": {},
        "sdps": {
          "sdp": [
            {
              "id": "SDP1",
              "geo-location": {},
              "node-id": "CU",
              "sdp-ip-address": "",
              "tp-ref": "",
              "service-match-criteria": {
                "match-criterion": [
                  {
                    "index": 1,
                    "match-type": [
                      {
                        "type": "dscp",
                        "dscp": [51]
                      }
                    ],
                    "target-connection-group-id": "CU_DU_1"
                  },
                  {
                    "index": 2,
                    "match-type": [
                      {
                        "type": "dscp",
                        "dscp": [52]
                      }
                    ],
                    "target-connection-group-id": "CU_DU_2"
                  },
                  {
                    "index": 3,
                    "match-type": [
                      {
                        "type": "any"
                      }
                    ],
                    "target-connection-group-id": "CU_DU_3"
                  }
                ]
              },
              "incoming-qos-policy": {},
              "outgoing-qos-policy": {},
              "sdp-peering": {
                "peer-sap-id": "",
                "protocols": {}
              },
              "ac-svc-ref": [],
              "attachment-circuits": {
                "attachment-circuit": [
                  {
                    "id": "acSDP1",
                    "ac-node-id": "PE-A",
                    "ac-tp-id": "GigabitEthernet5/0/0/0",
                    "ac-ipv4-address": "4.4.4.4",
                    "ac-ipv4-prefix-length": 24,
                    "status": {}
                  }
                ]
              },
              "status": {},
              "sdp-monitoring": {}
            },
            {
              "id": "SDP2",
              "geo-location": {},
              "node-id": "DU",
              "sdp-ip-address": "",
              "tp-ref": "",
              "service-match-criteria": {
                "match-criterion": [
                  {
                    "index": 1,
                    "match-type": [
                      {
                        "type": "dscp",
                        "dscp": [51]
                      }
                    ],
                    "target-connection-group-id": "CU_DU_1"
                  },
                  {
                    "index": 2,
                    "match-type": [
                      {
                        "type": "dscp",
                        "dscp": [52]
                      }
                    ],
                    "target-connection-group-id": "CU_DU_2"
                  },
                  {
                    "index": 3,
                    "match-type": [
                      {
                        "type": "any"
                      }
                    ],
                    "target-connection-group-id": "CU_DU_3"
                  }
                ]
              },
              "incoming-qos-policy": {},
              "outgoing-qos-policy": {},
              "sdp-peering": {
                "peer-sap-id": "",
                "protocols": {}
              },
              "ac-svc-ref": [],
              "attachment-circuits": {
                "attachment-circuit": [
                  {
                    "id": "acSDP2",
                    "ac-node-id": "PE-B",
                    "ac-tp-id": "GigabitEthernet5/0/0/0",
                    "ac-ipv4-address": "10.60.60.105",
                    "ac-ipv4-prefix-length": 24,
                    "status": {}
                  }
                ]
              },
              "status": {},
              "sdp-monitoring": {}
            }
          ]
        },
        "connection-groups": {
          "connection-group": [
            {
              "id": "CU_DU_1",
              "connectivity-type": "point-to-point",
              "slo-sle-template": "silver",
              "connectivity-construct": [
                {
                  "id": "1",
                  "p2p-sender-sdp": "SDP1",
                  "p2p-receiver-sdp": "SDP2"
                },
                {
                  "id": "2",
                  "p2p-sender-sdp": "SDP2",
                  "p2p-receiver-sdp": "SDP1"

                }
              ],
              "status": {}
            },
            {
              "id": "CU_DU_2",
              "connectivity-type": "point-to-point",
              "slo-sle-template": "gold",
              "connectivity-construct": [
                {
                  "id": "3",
                  "p2p-sender-sdp": "SDP1",
                  "p2p-receiver-sdp": "SDP2"
                },
                {
                  "id": "4",
                  "p2p-sender-sdp": "SDP2",
                  "p2p-receiver-sdp": "SDP1"

                }
              ],
              "status": {}
            },
            {
              "id": "CU_DU_3",
              "connectivity-type": "point-to-point",
              "connectivity-construct": [
                {
                  "id": "5",
                  "p2p-sender-sdp": "SDP1",
                  "p2p-receiver-sdp": "SDP2"
                },
                {
                  "id": "6",
                  "p2p-sender-sdp": "SDP2",
                  "p2p-receiver-sdp": "SDP1"

                }
              ],
              "status": {}
            }
          ]
        }
      }
    ]
  }
}
+166 −0
Original line number Diff line number Diff line
{
    "ietf-network-slice-service:network-slice-services": {
      "slo-sle-templates": {
        "slo-sle-template": [
          {
            "id": "A",
            "description": "",
            "slo-policy": {
              "metric-bound": [
                {
                  "metric-type": "one-way-bandwidth",
                  "metric-unit": "kbps",
                  "bound": 60
                },
                {
                  "metric-type": "one-way-delay-maximum",
                  "metric-unit": "milliseconds",
                  "bound": 4
                }
              ]
            },
            "sle-policy": {
              "security": "",
              "isolation": "",
              "path-constraints": {
                "service-functions": "",
                "diversity": {
                  "diversity": {
                    "diversity-type": ""
                  }
                }
              }
            }
          }
        ]
      },
      "slice-service": [
        {
          "id": "slice-service-e092d086-f744-4f48-89e1-7f004fc47446",
          "description": "example 5G Slice mapping",
          "service-tags": {
            "tag-type": {
              "tag-type": "",
              "value": ""
            }
          },
          "slo-sle-policy": {
            "slo-sle-template": "A"
          },
          "status": {},
          "sdps": {
            "sdp": [
              {
                "id": "01",
                "geo-location": "",
                "node-id": "DU3",
                "sdp-ip-address": "100.1.2.2",
                "tp-ref": "",
                "service-match-criteria": {
                  "match-criterion": [
                    {
                      "index": 1,
                      "match-type": [
                        {
                          "type": "vlan",
                          "vlan": [300]
                        }
                      ],
                      "target-connection-group-id": "DU3_CU-UP2"
                    }
                  ]
                },
                "incoming-qos-policy": "",
                "outgoing-qos-policy": "",
                "sdp-peering": {
                  "peer-sap-id": "",
                  "protocols": ""
                },
                "ac-svc-ref": [],
                "attachment-circuits": {
                  "attachment-circuit": [
                    {
                      "id": "100",
                      "ac-ipv4-address": "100.1.2.1",
                      "ac-ipv4-prefix-length": 0,
                      "sdp-peering": {
                        "peer-sap-id": "100.1.2.254"
                      },
                      "status": {}
                    }
                  ]
                },
                "status": {},
                "sdp-monitoring": ""
              },
              {
                "id": "02",
                "geo-location": "",
                "node-id": "CU-UP2",
                "sdp-ip-address": "1.1.3.2",
                "tp-ref": "",
                "service-match-criteria": {
                  "match-criterion": [
                    {
                      "index": 1,
                      "match-type": [
                        {
                          "type": "vlan",
                          "vlan": [300]
                        }
                      ],
                      "target-connection-group-id": "DU3_CU-UP2"
                    }
                  ]
                },
                "incoming-qos-policy": "",
                "outgoing-qos-policy": "",
                "sdp-peering": {
                  "peer-sap-id": "",
                  "protocols": ""
                },
                "ac-svc-ref": [],
                "attachment-circuits": {
                  "attachment-circuit": [
                    {
                      "id": "200",
                      "ac-ipv4-address": "1.1.3.1",
                      "ac-ipv4-prefix-length": 0,
                      "sdp-peering": {
                        "peer-sap-id": "1.1.3.254"
                      },
                      "status": {}
                    }
                  ]
                },
                "status": {},
                "sdp-monitoring": ""
              }
            ]
          },
          "connection-groups": {
            "connection-group": [
              {
                "id": "DU3_CU-UP2",
                "connectivity-type": "ietf-vpn-common:any-to-any",
                "connectivity-construct": [
                  {
                    "id": 1,
                    "a2a-sdp": [
                      {
                        "sdp-id": "01"
                      },
                      {
                        "sdp-id": "02"
                      }
                    ]
                  }
                ],
                "status": {}
              }
            ]
          }
        }
      ]
    }
  }
 No newline at end of file