Commit 25719c13 authored by Mohamad Rahhal's avatar Mohamad Rahhal
Browse files

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

- Added NBI Request
parent 5abd56f4
Loading
Loading
Loading
Loading
+103 −0
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}
                                                    }
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}

capture.pcap

0 → 100644
+33.8 MiB

File added.

No diff preview for this file type.

+103 −0
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
@@ -20,7 +20,7 @@
export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
export TFS_COMPONENTS="context device pathcomp service webui"
export TFS_COMPONENTS="context device pathcomp service webui nbi"

# Uncomment to activate Monitoring (old)
#export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"
+92 −92

File changed.

Preview size limit exceeded, changes collapsed.

Loading