Commit 813bb6db authored by Mohamad Rahhal's avatar Mohamad Rahhal
Browse files

Device-Service component - Ryu - Driver - Service Handler:

- Review 1 By Mohamad Rahhal
parent 25719c13
Loading
Loading
Loading
Loading

capture.pcap

deleted100644 → 0
−33.8 MiB

File deleted.

device

deleted100644 → 0
+0 −220

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −103
Original line number Diff line number Diff line
{
    "ietf-l3vpn-svc:l3vpn-svc": {
        "vpn-services": {
            "vpn-service": [
                {"vpn-id": "ietf-l3vpn-svc"}
            ]
        },
        "sites": {
            "site": [
                {
                    "site-id": "site_DC1",
                    "management": {"type": "ietf-l3vpn-svc:provider-managed"},
                    "locations": {"location": [{"location-id": "DC1"}]},
                    "devices": {"device": [{"device-id": "h1","location": "DC1"}]},
                    "site-network-accesses": {
                        "site-network-access": [
                            {
                                "site-network-access-id": "h1-eth0",
                                "site-network-access-type": "ietf-l3vpn-svc:multipoint",
                                "device-reference": "h1",
                                "vpn-attachment": {"vpn-id": "ietf-l3vpn-svc", "site-role": "ietf-l3vpn-svc:spoke-role"},
                                "ip-connection": {
                                    "ipv4": {
                                        "address-allocation-type": "ietf-l3vpn-svc:static-address",
                                        "addresses": {
                                            "provider-address": "10.0.0.1",
                                            "customer-address": "10.0.0.1",
                                            "prefix-length": 8
                                        }
                                    }
                                },
                                "service": {
                                    "svc-mtu": 1500,
                                    "svc-input-bandwidth": 1000000000,
                                    "svc-output-bandwidth": 1000000000,
                                    "qos": {
                                        "qos-profile": {
                                            "classes": {
                                                "class": [
                                                    {
                                                        "class-id": "qos-realtime",
                                                        "direction": "ietf-l3vpn-svc:both",
                                                        "latency": {"latency-boundary": 10},
                                                        "bandwidth": {"guaranteed-bw-percent": 100}
                                                    }
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        ]
                    }
                },
                {
                    "site-id": "site_DC2",
                    "management": {"type": "ietf-l3vpn-svc:provider-managed"},
                    "locations": {"location": [{"location-id": "DC2"}]},
                    "devices": {"device": [{"device-id": "h3", "location": "DC2"}]},
                    "site-network-accesses": {
                        "site-network-access": [
                            {
                                "site-network-access-id": "h3-eth0",
                                "site-network-access-type": "ietf-l3vpn-svc:multipoint",
                                "device-reference": "h3",
                                "vpn-attachment": {"vpn-id": "ietf-l3vpn-svc", "site-role": "ietf-l3vpn-svc:hub-role"},
                                "ip-connection": {
                                    "ipv4": {
                                        "address-allocation-type": "ietf-l3vpn-svc:static-address",
                                        "addresses": {
                                            "provider-address": "10.0.0.1",
                                            "customer-address": "10.0.0.3",
                                            "prefix-length": 8
                                        }
                                    }
                                },
                                "service": {
                                    "svc-mtu": 1500,
                                    "svc-input-bandwidth": 1000000000,
                                    "svc-output-bandwidth": 1000000000,
                                    "qos": {
                                        "qos-profile": {
                                            "classes": {
                                                "class": [
                                                    {
                                                        "class-id": "qos-realtime",
                                                        "direction": "ietf-l3vpn-svc:both",
                                                        "latency": {"latency-boundary": 10},
                                                        "bandwidth": {"guaranteed-bw-percent": 100}
                                                    }
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ spec:
            - containerPort: 9192
          env:
            - name: LOG_LEVEL
              value: "DEBUG"
              value: "INFO"
          startupProbe:
            exec:
              command: ["/bin/grpc_health_probe", "-addr=:2020"]
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ spec:
            - containerPort: 9192
          env:
            - name: LOG_LEVEL
              value: "DEBUG"
              value: "INFO"
            - name: ENABLE_FORECASTER
              value: "NO"
          readinessProbe:
Loading