Professional Documents
Culture Documents
Content
1 Service Provisioning............................................................................................................................................... 3
1.1 User Case........................................................................................................................................... 3
1.1.1 Use Case Features........................................................................................................................ 3
1.1.2 Use Case Operations.................................................................................................................... 3
1.2 L2VPN Service Provisioning.......................................................................................................... 4
1.2.1 Current L2VPNs Creation............................................................................................................4
1.2.2 Workflow for L2VPN Service Provisioning from OSS...............................................................4
1.2.3 Detailed modeling of L2VPN Use Cases..................................................................................... 9
1.3 L3VPN Service Provisioning........................................................................................................15
1.3.1 L3VPN Structure and Classification......................................................................................... 15
1.3.2 List of parameters to configure in the devices for L3VPNs....................................................16
1.3.3 Workflow for L3VPN Creation..................................................................................................16
1.3.4 L3VPN for 3G/4G Fusion Services........................................................................................... 21
1.3.5 L3VPN for Enterprises.............................................................................................................. 25
1.4 LXVPN Parameters Modification................................................................................................44
1.4.1 L3VPN Interface Params Modification.................................................................................... 44
1.4.2 L3VPN CE Routing Params Modification.................................................................................45
1.5 LxVPN Network Retrieval............................................................................................................ 47
1.5.1 Retrieve all L2VPNs...................................................................................................................47
1.5.2 Retrieve all L3VPNs...................................................................................................................48
1.5.3 L3VPN and L2VPN Retrieve Node/Endpoints........................................................................ 49
1.6 LxVPN Network Deletion............................................................................................................. 52
1.6.1 Workflow for L3VPN network deletion...................................................................................52
1.6.2 Workflow for L2VPN network deletion...................................................................................52
1.6.3 Delete a L3VPNs.........................................................................................................................53
1.6.4 Delete an Endpoint of the L3VPNs........................................................................................... 54
1.6.5 L2VPN Service Deletion............................................................................................................ 54
1.6.6 Delete a L2VPNs EndPoints...................................................................................................... 55
1.7 L3VPN Profiles Creation/Modification..................................................................................... 55
1.7.1 General parameter table........................................................................................................... 56
1.7.2 Creation and Modification of the Forwarding filter (IETF-ACCESS-CONTROL-LIST usage) 58
1.7.3 Creation and Modification of the Routing filter (IETF-ROUTING-POLICY & IETF-BGP-
POLICY usage)..................................................................................................................................... 59
1.7.4 RESTCONF: Use Case available interfaces............................................................................... 68
1.8 L2VPN Interface Params Modification......................................................................................69
2 Glossary...................................................................................................................................................................80
3 References.............................................................................................................................................................. 82
ZENIC ONE Restful Service Provision Interface Specification
1 Service Provisioning
The VPN service defined in RFC 4364 provides a multipoint, routed service to the customer over an
IP/MPLS core. The L3VPNs are widely used to deploy 3G/4G, fixed and enterprise services principally
due to the fact that several traffic discrimination policies can be applied in the network to transport and
guarantee the right SLAs to the mobile customers.
CREATE READ
Create a LxVPN services, nodes and accesses Retrieve a LxVPN Services, Nodes and
using several topologies. Accesses Status
POST GET
Create a VPN node in a particular VPN Retrieve a VPN Node in a particular VPN
Service Service
Create an access to a particular VPN Node. Retrieve Accesses parameters
Create CE-PE routing parameters
Create accesses ethernet encapsulation,
requeriments.
Create QoS relationships of a service.
UPDATE DELETE
Update a LxVPN Services, Nodes and Delete all the LxVPN services, all nodes or all
Accesses Status accesses.
PATCH Update a VPN Node in a particular VPN DEL Delete specific LxVPN services, nodes or all
Service accesses.
Update accesses parameters such as IP Delete a VPN node in a particular VPN
routing and ethernet encapsulation. Service
Delete accesses parameters
ZENIC ONE Restful Service Provision Interface Specification
Figure 6. Workflow for L2VPN creation using the L2SM yang definition
While all the intermediate steps are described in the following subsections.
1.2.2.1 Create Site (VPN.L2.Site.Add)
A site is a customer location. For the SDN controller, the site is just an identification that can be used later
to belong to VPNs.
The first step is to create the site in the SDN controller if it has not been previously created. One site can
be used for multiple VPNs. A site can also have multiple connections to the network. With this step, the
SDN Controller will know that the site exists, but it does not know anything about its connectivity. Each
time a new client site that can potentially need VPNs is known; it should be created in the SDN Controller.
As it can be created prior to the activation of services. In the case of being necessary, a site ID and a
Location ID are necessary. This site creation may also include additional information as, for example, the
bearers (if already known and available), description, security or routing protocols for the entire site, etc.
SITE 1 SITE 2
1 2
Figure 7. VPN.L2.Site.Add
ZENIC ONE Restful Service Provision Interface Specification
The set of parameters to add each of the sites and the responsibilities are the following:
Parameter Responsible Description
SITE ID (if necessary) OSS Identifier of the site.
LOCATION ID (if necessary) OSS Identifier for a particular location.
SITE 1 SITE 2
1 VPN 2
Figure 8. VPN.L2.Add
ZENIC ONE Restful Service Provision Interface Specification
SITE 1 SITE 2
Figure 9. VPN.L2.Access.Add
type multipoint.
Status/administrative OSS True if the entity is administratively enabled.
Bearer/bearer- OSS This is an internal reference for the SP. In our case, mapped to
reference the PE router and client port.
Connection / OSS Encapsulation type. By default, the encapsulation type is set to
'ethernet'. Other information enclosed at this container, such as
Ethernet
dot1q, qinq, etc. parameters.
encapsulation
Service/Bandwidth OSS Input and output bandwidth for the service.
Service/MTU OSS SVC MTU. It is also known as the maximum transmission unit or
maximum frame size. When a frame is larger than the MTU, it is
broken down, or fragmented, into smaller pieces by the network
protocol to accommodate the MTU of the network. If CsC is
enabled, the requested svc-mtu leaf will refer to the MPLS MTU
and not to the link MTU.
Service/QoS OSS Reference to a standard profile for QoS, defined at the vpn-
[standard profile] profiles.
VPN attachment OSS Reference to the vpn-service where the new access is to be
attached.
MAC loop prevention OSS MAC loop prevention parameters.
Access control list OSS ACL related parameters
MAC address limit OSS MAC address limit configurations.
ZENIC ONE Restful Service Provision Interface Specification
1.2.3.2.1 Description
This L2VPN services are part of the wholesale catalog of services deployed in the network in order to
provide Point-to-point (P2P) or Point-to-Multipoint (P2M) connections.
1/1/1
2/1/1
HL3
1/1/2
HL4
HL3
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter in the document RESTconf/l2_ent_4211_final.rc
1.2.3.3.1 Description
This L2VPN services are part of the wholesale catalog of services deployed in the network in order to
provide Point-to-point (P2P) or Point-to-Multipoint (P2M) connections. The Mesh SDP supports the split
horizon rule to avoid loops in the L2.
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.2.3.4 L2VPN for Enterprise (3) [VLL/[None|Dot1Q|QinQ]/None/None]
Name A.3.3 L2VPN for Enterprise (3) [VLL/[None|Dot1Q|QinQ]/None/None]
Service Type PW
End Point Connection Type Dot1Q
Routing Protocol used to Connect the None
CE
QoS policies applied in the service None
Country Validation COL X PER ARG CHI BRA
1.2.3.4.1 Description
This use case is about provisioning a Single-Domain Ethernet pseudowire (PW). This L2VPN services
are part of the wholesale catalog of services deployed in the network in order to provide Point-to-point
(P2P).
ZENIC ONE Restful Service Provision Interface Specification
HL4 10.33.4.68/30 HL3
1/1/1
2/1/1
HL3
1/1/2
HL4
HL3
For this specific use case the calls and RESTCONF requests messages are described in detail with an
example of each parameter: RESTconf/l2_ent_4211.docx
ZENIC ONE Restful Service Provision Interface Specification
Figure 11. Workflow for L3VPN creation using the L3NM yang definition
SITE SITE
MME
Serving
GW
The set of parameters to add each of the sites and the responsibilities are the following:
Parameter Responsible Type Description
SITE ID (if necessary) OSS svc-id Identifier of the site.
LOCATION ID (if necessary) OSS svc-id Identifier for a particular
location.
SITE SITE
VPN
MME
VPN-node VPN-node
Serving
GW
Additionally, the import/export profiles that can be added when creating the VPN service, using the
following parameters:
Parameter Responsible Type Description
Ie-profile-id OSS/NET string Unique identifier for an import/export profile
defined within a VPN node.
RD OSS/NET rt-types:route- Route distinguisher.
distinguisher
Vpn-target/route- OSS/NET rt-types:route- Set of route-targets to match for import and
target target export routes to/from VRF. Route target value
Vpn-target/route- OSS/NET rt-types:route- Set of route-targets to match for import and
target-type target-type export routes to/from VRF. Route target type
(import/export/both).
Furthermore, the VPN nodes can be included on VPN creation if the locations (PE routers) are known in
advance. To do so, the following parameters are configurable:
Parameter Responsible Type Description
Vpn-node-ID OSS/NET string Identifier of the VPN node. It can be identified or
mapped as the VRF name. As it may not be globally
unique, the ne-id is also needed.
NE-ID OSS/NET string Unique identifier for a network element where to
instantiate the VRF. This identifier may be a string,
a UUID, an IP address, etc.
Description OSS/NET string Textual description of a VPN node.
Router-ID OSS inet:ipv4- In case of being necessary, it defines the IP
address address to identify the VRF. If not specified, the IP
of the loopback interface within the base routing
instance will be used.
ASnumber OSS uint32 AS number of the VRF, if different from the base
instance.
Node-role OSS identityref Role of the vpn-node in the IP VPN.
Status/administrative OSS boolean True if the entity is administratively enabled.
Maximum routes OSS/NET Defines 'maximum-routes' for the VRF.
Node’s IE-profile OSS/NET -> Reference to an import export profile defined within
a VPN service.
ZENIC ONE Restful Service Provision Interface Specification
1.3.3.4 Create Site Network Access (VPN.L3.Access.Add)
The activation of a new site network access (e.g. new client port to be included in a VRF) requires some
parameters to be sent from the systems layer. These include the ID of the new access, description, the
bearer-reference (reference to the device and interface for the connection), encapsulation of the client
traffic, routing protocols, AS number (not necessary for our use case, with direct routing), IP addresses to
be configured for the PE-CE link. This information will trigger configuration in the interface of the
corresponding interface in the PE router, but it will not yet be integrated in the VPN service.
SITE SITE
VPN
ACCESS MME
The site-network-accesses created in step 5.3.3.1 are not yet associated to a VPN service and, therefore,
not included into a VRF in the network element. During this step we must associate the already created
site-network-access (and, also, the specific bearer supporting the access) to a specific service. Within the
site network access the VPN-NODE and SERVICE-ID must be filled. With this attachment we are sure
that the following constrains are accomplished:
One VPN node can have multiple Site Network Access
One Site Network Access can be in just one VPN Node.
SITE SITE
VPN
ACCESS MME
The set of parameters to add each of the site network access and the responsibilities are the following:
Parameter Responsible Type Description
Service-id OSS/NET -> Identifier of the service where the site-network-access is located.
Node-id OSS/NET -> Identifier of the vpn-node to be attached to the Site Network Access.
1.3.4.3 Description
In the L3VPN for 3G/4G Fusion Services the nodeB are directly connected to the HL5 layer. The HL5
acts as a first aggregation layer, for nodes that shares the same geographical location. The connection
between HL3 and HL5 are made in a ring topology. The HL3 receives and aggregates traffic from the
rings of the same state (geographical location). In the HL5 a L3VPN is created to receive the interfaces
of each nodeB. Three interfaces are created in the HL5 each in a different IP Address and VLAN range:
PKI interface: Used for PKI authentication.
S1 Interface: Users Traffic
Sync Interface: Clock signaling
The VPNID, targets and distinguisher are derived from standard naming conventions [5]. Additional
logical resources such VLANs, IP Addresses are defined by the network planning team during the service
design. The HL3 acts as a Route Reflector for all the HL5 of the region. For that reason, specific filtering
rules must be configured in the MP-BGP session.
To deploy this service several conditions must be evaluated, Figure 17 show the different scenarios:
ZENIC ONE Restful Service Provision Interface Specification
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
The generic service topology diagram for this kind of services is the following:
HL4
HL3
10.33.4.68/30
1/1/1
2/1/1
HL3
1/1/2
HL4
HL3
1.3.5.1.1 Description
This service has been widely deployed for wholesale customers. It uses BGP as the routing protocol
between the CE and the PE. This BGP connection does not has any special parameters or authentication.
In the HL4 the Router has an access list to export just the default route to the customer. Each customer
site has an access interface inside the VRF. In this interface the schedulers and QoS policies are
overwriting to fulfill the service characteristics. According to this practice has put a limit to the traffic that
can access the network in the connection border.
1.3.5.1.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter:
1.3.5.1.3 Create Site (VPN.L3.Site.Add)
Parameter Responsible Service Example
SITE ID (if necessary) OSS BCO_01_S8137
LOCATION ID (if necessary) OSS S8137
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.3.5.2.1 Description
This service has been widely deployed for wholesale customers. It uses BGP as the routing protocol
between the CE and the PE. This BGP connection has a multi-hop (peering routers are not directly
connected) connection for that reason a static route is configured to reach the CE-peering router. Define
the number of hops of this connection is vital inside the BGP connection because the TTL of the BGP
open messages is decreased during each jump. If the hop-count is not the same as the number of host’s
jumps the TTL expires and the session cannot be established.
1.3.5.2.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter:
1.3.5.2.3 Create Site (VPN.L3.Site.Add)
Parameter Responsible Service Example
SITE ID (if necessary) OSS BCO_02_S8137
LOCATION ID (if necessary) OSS S8137
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.3.5.3.1 Description
This use case has been designed to support the deployment of VRF Lite network Instances It is a way to
make multiple routing tables that are completely separate from each other. VRF lite is considered a way
of using VRF's to segment networks without MPLS. This use case also allows the creation of loopback
interfaces inside the VRFs so in this case the Bearer creation is not required.
1.3.5.3.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter:
1.3.5.3.3 Create Site (VPN.L3.Site.Add)
Parameter Responsible Service Example
SITE ID (if necessary) OSS TEST_04_S8137
ZENIC ONE Restful Service Provision Interface Specification
LOCATION ID (if necessary) OSS S8137
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.3.5.4.1 Description
This service has been deployed for wholesale customers. It uses a pseudowire to extend the customer’s
Ethernet information to the aggregation layer. In the HL3 the pseudowire finishes in an access interfaces
with an IP address assignment. The QoS and shaping constrains are applied in the access interface of
the HL5.
1.3.5.4.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter:
1.3.5.4.3 Create Site (VPN.L3.Site.Add)
Parameter Responsible Service Example
SITE ID (if necessary) OSS BCO_03_S8137
LOCATION ID (if necessary) OSS S8137
ZENIC ONE Restful Service Provision Interface Specification
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.3.5.5.1 Description
This service has been widely deployed for wholesale customers. It uses OSFP as the routing protocol
between the CE and the PE. This OSPF session creates a stub area to connect the CE site to the
network. Import/Export access lists can be applied into the connection to filter the routes received and
announced between the customer and the provider. MTU parameters can set under the interface
parameters.
ZENIC ONE Restful Service Provision Interface Specification
1.3.5.5.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter.
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.3.5.6.1 Description
This service has been widely deployed for wholesale customers. It does not use any routing protocol
between the CE and the PE. For that reason, just the directly connected interfaces are included in the
routing information of the VPN.
1.3.5.6.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter:
1.3.5.6.3 Create Site (VPN.L3.Site.Add)
Parameter Responsible Service Example
SITE ID (if necessary) OSS WH_01_S8137
LOCATION ID (if necessary) OSS S8137
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.3.5.7.1 Description
This service has been widely deployed for management services.
1.3.5.7.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter:
1.3.5.7.3 Create Site (VPN.L3.Site.Add)
Parameter Responsible Service Example
SITE ID (if necessary) OSS MG_01_S211
LOCATION ID (if necessary) OSS S211
For this specific use case, the calls and RESTCONF requests messages are described in detail with an
example of each parameter.
1.3.5.8.1 Description
This service has been deployed for wholesale customers. It uses a pseudowire to extend the customer’s
Ethernet information to the aggregation layer. In the HL3 the pseudowire finishes in an access interfaces
with an IP address assignment. The QoS and shaping constrains are applied in the access interface of
the HL5.
1.3.5.8.2 Configuration example: SDTN NBI
For this specific use case the set of parameters and RESTCONF request messages are described in
detail with an example of each parameter:
1.3.5.8.3 Create Site (VPN.L3.Site.Add)
Parameter Responsible Service Example
SITE ID (if necessary) OSS BCO_03_S8137
LOCATION ID (if necessary) OSS S8137
1.4.1.2 Workflow
The following example shows how to modify the value of the IP addressing of a given PE-CE interface.
The HTTP request is the following:
PATCH /restconf/data/ietf-l3vpn-ntw:l3vpn-ntw/sites/site={site-
id}/site-network-accesses/site-network-access={site-network-access-
id }/ip-connection/ipv4/static-addresses HTTP/1.1
Host: example.com
Accept: application/yang-data+json
{
"provider-address": "10.0.0.1",
"prefix-length": "30"
}
The sample expected response if the parameter has been found and the value has been modified is the
following:
HTTP/1.1 204 No Content
1.4.2.2 Workflow
1
BGP multihop parameter success modification requires the existence of the corresponding static route.
ZENIC ONE Restful Service Provision Interface Specification
Figure 20. Edit VPN CE routing protocol parameter workflow
The following example shows how to modify the value of the neighbor of a given PE-CE BGP connection.
The HTTP request is the following:
PATCH /restconf/data/ietf-l3vpn-ntw:l3vpn-ntw/sites/site={site-
id}/site-network-accesses/site-network-access={site-network-access-
id }/routing-protocols/routing-protocol/bgp HTTP/1.1
Host: example.com
Accept: application/yang-data+json
{
"neighbor": "192.168.1.2"
}
The sample expected response if the parameter has been found and the value has been modified is the
following:
HTTP/1.1 204 No Content
To retrieve all the L2VPNs the syntax, workflow and parameters are the following:
ZENIC ONE Restful Service Provision Interface Specification
GET /restconf/data/ietf-l2vpn-svc:l2vpn-svc/vpn-
services HTTP/1.1
Host: example.com
Accept: application/yang-data+json
To retrieve all the L3VPNs the syntax, workflow and parameters are the following:
GET /restconf/data/ietf-l3vpn-ntw:l3vpn-ntw/vpn-
services HTTP/1.1
Host: example.com
Accept: application/yang-data+json
ZENIC ONE Restful Service Provision Interface Specification
This use case is used to get the entire set of Nodes and Site Network Access deployed in the VPN
services.
Get VPNs Nodes from the VPN service
Get Site Network Access from Site
1.5.3.1 L3VPN Node/Endpoints of L3VPNs
To retrieve all the L3VPNs Nodes for a particular service the syntax, workflow and parameters are the
following:
GET /restconf/data/ietf-l3vpn-ntw:l3vpn-ntw/vpn-
services/vpn-service={VPN_ID}/vpn-nodes HTTP/1.1
Host: example.com
Accept: application/yang-data+json
ZENIC ONE Restful Service Provision Interface Specification
Figure 23. Get All Vpn Nodes from a selected VPN service Workflow
To retrieve all the L3VPNs EndPoints (Site Network Accesses) for a particular site the syntax, workflow
and parameters are the following:
GET /restconf/data/ietf-l3vpn-ntw:l3vpn-
ntw/sites/site={site-id}/site-network-accesses
HTTP/1.1
Host: example.com
Accept: application/yang-data+json
Figure 24. Get the Site Network Access from a selected site
Figure 25. Get the Site Network Access from a selected site
ZENIC ONE Restful Service Provision Interface Specification
1.6.3.1 Operations
Before deleting all L3VPN services, it is needed to erase all the nodes attached or created within that
service. For doing that, the following operation will be done:
DELETE /restconf/data/ietf-l3vpn-ntw:l3vpn-ntw/vpn-
services/service={{l3vpnservice}}/vpn-nodes HTTP/1.1
Host: example.com
Accept: application/yang-data+json
Once the vpn-nodes have been erased, it can be executed the next step: to delete all L3VPNs. The
syntax, workflow and parameters are the following:
DELETE /restconf/data/ietf-l3vpn-ntw:l3vpn-ntw/vpn-
services HTTP/1.1
Host: example.com
Accept: application/yang-data+json
The sample expected response for both operations if the elements have been found and have been
ZENIC ONE Restful Service Provision Interface Specification
deleted is the following:
HTTP/1.1 200 OK
To delete a Site Network Access if a particular L3VPNs the syntax, workflow and parameters are the
following:
DELETE /restconf/data/ietf-l3vpn-ntw:l3vpn-
ntw/sites/site={site-id}/site-network-accesses/site-
network-access={site-network-access-id} HTTP/1.1
Host: example.com
Accept: application/yang-data+json
1.6.4.1 Examples
The sample response is the following:
HTTP/1.1 200 OK
1.6.5.1 Operations
Before deleting all L2VPN services, it is needed to erase all the endpoints attached or created within that
service (see section 5.6.6).
The syntax, workflow and parameters to delete L2VPN service are the following:
ZENIC ONE Restful Service Provision Interface Specification
DELETE /restconf/data/ietf-l2vpn-svc:l2vpn-svc/vpn-
services HTTP/1.1
Host: example.com
Accept: application/yang-data+json
The sample expected response for both operations if the elements have been found and have been
deleted is the following:
HTTP/1.1 200 OK
To delete a Site Network Access of a particular L2VPN the syntax, workflow and parameters are the
following:
DELETE /restconf/data/ietf-l2vpn-svc:l2vpn-
svc/sites/site={site-id}/site-network-accesses/site-
network-access={site-network-access-id} HTTP/1.1
Host: example.com
Accept: application/yang-data+json
1.6.6.1 Examples
The sample response is the following:
HTTP/1.1 200 OK
Then the QoS profile id must be in set in the QoS Profile leaf of the VPN Network Access in the
model:
/l3vpn-ntw/vpn-services/vpn-service/vpn-nodes/vpn-node/vpn-network-
accesses/vpn-network-access/service/qos/qos-profile/qos-
profile/profile = QOS_TELEFONICA
ZENIC ONE Restful Service Provision Interface Specification
IETF-L3VPN-NTW
VPN NODE
Id
Service
QoS Profile
Reference
Id
Id Id
<AUGMENT>
IETF-L3VPN-NTW
IETF-ROUTING-POLICY IETF-BGP-POLICY
VPN-SERVICES
DEFINED SETs POLICY-DEFINITIONS
IE-PROFILE
POLICY DEFINITION
VPN-TARGETS
Name
VPN-POLICIES
Import-policy
Export-policy
ACE:Actions: Two types of actions are permitted in the ACL: Forwarding and Logging. Both
operations can be set at as a result of and specific conditions.
o ACE:actions:forwarding [/acls/acl/aces/ace/actions/forwarding]: Accept
or reject the packet based on the condition previously evaluated.
o ACE:actions:forwarding [/acls/acl/aces/ace/actions/logging]: Specifies
the log action and destination for a matched packets. A syslog or other log can be
specified.
The set of parameters used for the creation of the ACL is summarized on the following table:
Policy-definitions are composed by set of policy statements. Each statement evaluates a set of
conditions and takes a set of actions. Source criteria can be selected as a parameter of the policy
definition. Logical operations between the components of a set are allowed using the MATCH-
SET-OPTIONS.
o MATCH-SET-OPTIONS are optional parameters that governs the behavior of the match
operation. It allows to create logical operations to evaluate the items of a particular set.
ANY: Is equivalent to create an OR operation of the terms in the set.
ALL: Is equivalent to create an AND operation of the terms in the set.
Conditions represents the rules to be evaluated. Conditions includes the possibility to evaluate
defined-sets, source protocols or bgp-specific parameters.
Actions include decisions to take over the network, including complementary options such as: set
a tag, set a community or change the priority. Basic actions such as accept or reject traffic are
also included.
Each parameter of the access-control-list and its xpath is described as follows (each set of parameters
are grouped in their corresponding category):
name: [ietf-routing-policy/ietf-routing-policy/defined-sets/prefix-
sets/prefix-set*/name]
Unique name parameter to prefix sets.
mode?: [ietf-routing-policy/ietf-routing-policy/defined-sets/prefix-sets/prefix-set*/mode?]
This parameter define the network address families mode (IPV4, IPV6 or Both) in the Prefix Set.
prefixes [ietf-routing-policy/ietf-routing-policy/defined-
sets/prefix-sets/prefix-set*/prefixes]
Container of prefixes list with settings parameters (IP-Prefix and Mask-length range).
ip-prefix: [ietf-routing-policy/ietf-routing-policy/defined-
sets/prefix-sets/prefix-set*/prefixes/prefix-list*/ip-prefix]
IP Address (IPV4/IPV6) which is used to match traffic on policies statement, those policies can be
applied in different types of routing protocols.
masklength-lower: [ietf-routing-policy/ietf-routing-policy/defined-
sets/prefix-sets/prefix-set*/prefixes/prefix-list*/masklength-lower]
Define the lowest threshold of the mask.
masklength-upper [ietf-routing-policy/ietf-routing-policy/defined-
sets/prefix-sets/prefix-set*/prefixes/prefix-list*/masklength-upper]
Define the upper threshold of the mask.
masklength-range [ietf-routing-policy/ietf-routing-policy/defined-
sets/prefix-sets/prefix-set/prefixes/prefix/masklength-range]
Subnet mask parameter of the IP Address which determine the range of Network to match in
policy statement.
neighbor-set* [ietf-routing-policy/ietf-routing-policy/defined-
sets/neighbor-sets/neighbor-set*]
List of IP Address (IPV4/IPV6) neighbors which matched in a policies statement that can be
applied to different purposes.
name [ietf-routing-policy/ietf-routing-policy/defined-sets/neighbor-
sets/neighbor-set*/name]
Unique name to reference the list neighbor-set.
address* [ietf-routing-policy/ietf-routing-policy/defined-
sets/neighbor-sets/neighbor-set*/address*]
IP Address (IPV4/IPV6) of neighbor which match with the policies statement.
ZENIC ONE Restful Service Provision Interface Specification
tag-set [ietf-routing-policy/ietf-routing-policy/defined-sets/tag-sets]
List of tag’s or flags to match and discriminate a type of traffic or a logical resource.
Name [ietf-routing-policy/ietf-routing-policy/defined-sets/tag-
sets/tag-set*/name]
Unique name tag set, this is used to reference in policies statement.
Tag-value* [ietf-routing-policy/ietf-routing-policy/defined-sets/tag-
sets/tag-set*/tag-value*]
Number or pattern value of the Tag created to discriminate specific traffic.
bp-bgp-pol:bgp-defined-sets [ietf-routing-policy/ietf-routing-
policy/defined-sets/oc-bgp-pol:bgp-defined-sets]
Container in which has set definitions parameters related with BGP Protocol to reference in
policies statement.
bp-bgp-pol:community-sets [ietf-routing-policy/ietf-routing-
policy/defined-sets/bp:bgp-defined-sets/oc-bgp-pol:community-sets]
Container in which there are community sets parameters defined for BGP Protocol.
bp-bgp-pol:community-set [ietf-routing-policy/ietf-routing-
policy/defined-sets/bp:bgp-defined-sets/bp:community-sets/oc-bgp-
pol:community-sets]
List of communities sets defined to match with policies statement.
bp:name [ietf-routing-policy/ietf-routing-policy/defined-
sets/bp:bgp-defined-sets/bp:community-sets/bp:community-set*/bp:name]
Unique name of community set defined, this is used to reference in policies statement.
bp:member* [ietf-routing-policy/ietf-routing-policy/defined-
sets/bp:bgp-defined-sets/bp:community-sets/bp:community-set*/bp:member*]
Value of community set member composite by the Autonomous system (AS) number and unique
number entered 4-byte.
bp:ext-community-sets [ietf-routing-policy/ietf-routing-
policy/defined-sets/bp:bgp-defined-sets/bp:ext-community-sets]
Container in which there are extended community sets parameters defined for BGP Protocol.
bp:ext-community-set* [ietf-routing-policy/ietf-routing-policy/defined-sets/bp:bgp-
defined-sets/bp:ext-community-sets/bp:ext-community-set*]
List of extended communities sets defined to match with policies statement.
bp:name [ietf-routing-policy/ietf-routing-policy/defined-
sets/bp:bgp-defined-sets/bp:ext-community-sets/bp:ext-community-
set*/bp:name]
Unique name of extended community set defined, this is used to reference in policies statement
bp:member* [ietf-routing-policy/ietf-routing-policy/defined-sets/bp:bgp-defined-sets/bp:ext-
community-sets/bp:ext-community-set*/bp:member*]
Value of extended community set member composite by the Autonomous system (AS) number
and unique number entered 4-byte.
bp:as-path-sets [ietf-routing-policy/ietf-routing-policy/defined-
sets/bp:bgp-defined-sets/bp:as-path-sets]
Container of list as-path-set’s defined with parameters settings name and member created.
bp:as-path-set* [ietf-routing-policy/ietf-routing-policy/defined-
sets/bp:bgp-defined-sets/bp:as-path-sets/bp:as-path-set*]
List with the settings of as-path-sets that are matched with the policies statement and perform
any action in the BGP Protocols.
bp:name [ietf-routing-policy/ietf-routing-policy/defined-
sets/bp:bgp-defined-sets/bp:as-path-sets/bp:as-path-set*/bp:name]
Name of the AS path set, this is used to reference the set-in match conditions
bp: member* [ietf-routing-policy/ietf-routing-policy/defined-
sets/bp:bgp-defined-sets/bp:as-path-sets/bp:as-path-set*/bp:member*]
Autonomous system defined in the as-path-sets policies to match with de policies statement.
Source-protocol [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/source-protocol?]
Condition to check the protocol, method used to install the route into the local routing table
match-prefix-set [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-prefix-set]
Container with settings of prefix-set defined, matching and perform any action, this make an
example of conditions applied based on prefix-set.
prefix-set? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-prefix-set/prefix-set?]
Name of prefix-set defined in the defined-sets section reference with parameters of IP and Mask
for apply any conditions and then any action.
match-set-options? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-prefix-set/match-set-options?]
This is the selection of options and ways to match the parameters.(Any).
match-neighbor-set [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-neighbor-set]
Container with settings of neighbor-set defined, matching and perform any action, this make an
example of conditions applied based on neighbor-set.
neighbor-set? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-neighbor-set/neighbor-set?]
Name of neighbor-set defined in the defined-sets section reference with parameters of name of
neighbor for apply any conditions and then any action.
match-tag-set [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-tag-set]
Container with settings of tag-set defined, matching and perform any action, this make an
example of conditions applied based on tag-set.
tag-set? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-tag-set/tag-set?]
Name of tag-set defined in the defined-sets section reference with parameters of value of the tag
ZENIC ONE Restful Service Provision Interface Specification
for apply any conditions and then any action.
match-set-options? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/match-tag-set/match-set-options?]
This is the selection of options and ways to match the parameters.(Any).
match-proto-route-type* [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/conditions/match-proto-route-type*]
bp-bgp-conditions [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/]
Container related with only bgp conditions like a community-count, as-path-length, match-as-
path-set.
bp:med-eq? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:med-eq?]
Condition to check if the received MED (Multi_Exit_Disc) value is equal to the specified value.
bp:origin-eq? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:origin-eq?]
This parameter is to define the route origin that should be specify (IGP, EGP).
bp:next-hop-in* [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:next-hop-in*]
This parameter can specific the next-hop address list to update route’s according to any event.
bp:afi-safi-in* [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:afi-safi-in*]
List of address families which the NLRI (Network Layer Reachability Information) may be within.
bp:local-pref-eq? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:local-pref-eq?]
Parameter to specify the local pref attribute like a condition for any action.
bp:route-type? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:route-type?]
Condition to define is the route type in the route update is Internal or External learning.
bp:community-count [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:community-count]
Value specified condition to compare the number of communities in the route updates.
bp:as-path-length [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:as-path-length]
Value specified condition to compare the length of AS Path in the route updates and perform any
action.
bp:match-community-set [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-community-
set]
Name specified of match communities to reference in routing protocols configuration.
bp:community-set? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-community-
set/bp:community-set?]
bp:match-set-options? [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-community-
set/bp:match-set-options?]
ZENIC ONE Restful Service Provision Interface Specification
bp:match-ext-community-set [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-ext-
community-set]
bp:ext-community-set? [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-ext-
community-set/bp:ext-community-set?]
bp:match-set-options? [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-ext-
community-set/bp:match-set-options?]
bp:match-as-path-set [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-as-path-set]
Value and comparison operations for conditions based on the length of the AS path in the route
update
bp:as-path-set? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-as-path-
set/bp:as-path-set?]
Name of as-path-set created in definition-set section to apply conditions and then any action.
bp:match-set-options? [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/conditions/bp:bgp-conditions/bp:match-as-path-
set/bp:match-set-options?]
This is the selection of options and ways to match the parameters.(Any).
policy-result? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/policy-result?]
Depends of the conditions statement defined, the actions would be accept or reject routes.
set-metric [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-metric]
metric-modification? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-metric/metric-codification?]
metric? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-metric/metric?]
set-metric-type [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-metric-type]
metric-type? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-metric-type/metric-type?]
set-import-level [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-import-level]
import-level? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-import-level/import-level?]
set-preference? [ietf-routing-policy/ietf-routing-policy/policy-
ZENIC ONE Restful Service Provision Interface Specification
definitions/policy-definition*/policy-
statements/statement*/actions/set-preference?]
set-tag? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-tag?]
set-application-tag? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/set-application-tag?]
bp:bgp-actions [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions]
Container of actions related with BGP protocols, actions (As-path-prepend, set-community, set-
ext-community).
bp:set-route-origin? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-route-origin?]
This is a action parameter is to define the route origin that should be specify (IGP, EGP).
bp:set-local-pref? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-local-pref?]
This is an action parameter to set a local pref attribute on the route update.
bp:set-next-hop? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-next-hop?]
This is an action parameter setting to the next-hop address list to update route’s according to any
event.
bp:set-med? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-med?]
Set action to define a preferred path. The med metric attribute in the route update.
bp:set-as-path-prepend [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-as-path-prepend]
Container with set action to define AS number prepend with parameters of number of times and
AS-path.
bp:repeat-n? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-as-path-
prepend/bp:repeat-n?]
Number of times to prepend the value specified in the asn leaf to the AS path.
bp:set-community [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-community]
Set action of community attributes defined, depends of BGP conditions established with different
options to modify the communities.
bp:method? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-
community/bp:method?]
Set action of methods used to define the extended communities should be (Inline or Reference).
bp:options? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-
community/bp:options?]
Set actions to take with the communities attributes with the specified values, the options are (Add,
Remove or Replace).
bp:inline [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-community/bp:inline]
ZENIC ONE Restful Service Provision Interface Specification
Container with a list of communities values for action inline.
bp:communities* [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-
community/bp:inline/bp:communities*]
Set action of change of community values to update inline.
bp:reference [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-
community/bp:reference]
Provide a reference to a defined community set for the set-community action.
bp:community-set-ref? [ietf-routing-policy/ietf-routing-
policy/policy-definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-
community/bp:reference/bp:community-set-ref?]
Set action to references a defined community set by name.
bp:set-ext-community [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-ext-community]
Set action of extended community attributes defined, depends of BGP conditions established with
different options to modify the communities.
bp:method? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-ext-
community/bp:method?]
Set action of methods used to define the extended communities should be (Inline or Reference).
bp:options? [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-ext-
community/bp:options?]
Set actions to take with the extended communities attributes with the specified values, the
options are (Add, Remove or Replace).
bp:inline [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-ext-
community/bp:inline]
Container with a list of extended community values for action inline.
bp:communities* [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-ext-
community/bp:inline/bp:communities*]
Set action of change of extended community values to update inline.
bp:reference [ietf-routing-policy/ietf-routing-policy/policy-
definitions/policy-definition*/policy-
statements/statement*/actions/bp:bgp-actions/bp:set-ext-
community/bp:reference]
Set action to references a defined extended community set by name.
The set of parameters used for the creation of the ROUTING-POLICY is summarized on the following
table, where parameters in blue are part of the basic definition of the IETF-Routing-Policy module while
the green ones are part of the IETF-BGP-Policy (prefix: bp) definition.
L2VPN parameters modification is done using the same models and parameters described in the
previous chapter.
1.9 QOS
1.9.1 CONFIG CLASS-MAP
功能描述 Create or Modify CLASSMAP instance
URL路径 /restconf/operations/{meUid}/singlenbi-classmap-rpc:create
/restconf/operations/{meUid}/singlenbi-classmap-rpc:modify
参数说明:
Parameter Description Value
meUid ME uuid or ID string
BODY CLASSMAP instance List List<CLASSMAP>
CLASSMAP instance :
Parameter Description Value
classMapName Classmap name; Constraint:1-31 charcaters string
matchMode Match mode:”1”:match-all “2”:match-any string
matchConfigList CLASSMAP match configuration List List<MatchConfig>
MatchConfig instance :
Parameter Description Value
matchType 1:dscp extended precedence level:”dscp-ex”, string
2:8021p outer:”out-8021p”
matchValue 1:dscp-ex values: string
“0”:default,”10”:af11,”12”:af12,”14”:af13,”18”:af21,”
20”:af22,”22”:af23,”26”:af31,”28”:af32,”30”:af33,”34
”:af41,”36”:af42,”28”:af43,”46”:af,”8”:cs1,”16”:cs2,”
24”:cs3,”32”:cs4,”40”:cs5,”48”:cs6,”56”:cs7
2:8021p outer values:valid integer value range 0-7
to string;such as,”0”,”1”,”2”,”3”,”4”,”5”,”6”,”7”
CLASSMAP instance :
Parameter Description Value
classMapName CLASSMAP name; Constraint:1-31 charcaters string
POLICYMAP instance :
Parameter Description Value
policyMap Policymap name; Constraint:1-31 charcaters string
Name
policyMapT Policymap Type:“1”;default value string
ype
policyMap PolicyMapClassConfig instance List List<PolicyMapClass
ClassConfi Config>
gList
PolicyMapClassConfig instance :
Parameter Description Value
policyMapId Policymap Id,Which is the same to string
policyMapName in policymap instance
classMapId Classmap id,Which is binded with CLASSMAP string
instance's classMapName in classmap in
classmap instance
dscpWsetval Dscp tagged value:valid integer value range 0-63 string
to string
dscpBinherit Dscp tagged type:“0”: not Inherited from,”1”: string
ZENIC ONE Restful Service Provision Interface Specification
Inherited from
dscpUcinheritfro Dscp Inherited from: ”1”:precedence, string
m "2”:mplsExp, :”3”dot1p, “4”:dscp
mplsWsetval Mpls tagged value:valid integer value range 0-7 to string
string,such as “0”,’1”
mplsBinherit Mpls tagged type “0”: not Inherited from,”1”: string
Inherited from
mplsUcinheritfro Mpls Inherited from:”1”:precedence, string
m "2”:mplsExp, :”3”dot1p, “4”:dscp
mplsLabeltype Mpls heavy label type;:”0”:inner,”1”:topmost,“2”: string
imposition
cir Cir value:valid integer value range 8-400000000 to string
string,such as,”1000”
includePolicy policymap nested;1-31 charcaters,which is binded string
with policymap name
POLICYMAP instance :
Parameter Description Value
policyMapNam POLICYMAP name; Constraint:1-31 charcaters string
e
SERVICEPOLICY instance :
Parameter Description Value
interfaceNa interface format;interface which is binded with string
me policymap in UME
direction directions:“input” or “output” string
policyNam POLICYMAP name is binded with PolicyMap string
e instance's policyMapName;1-31 charcaters
SERVICEPOLICY instance :
Parameter Description Value
interfaceNa interface format;interface which is binded with string
me policymap in UME ,note:may be null to query
SERVICEPOLICY instance :
Parameter Description Value
interfaceNa interface format;interface which is binded with string
me policymap in UME
direction directions:“input” or “output” string
policyNam POLICYMAP name is binded with PolicyMap string
e instance's policyMapName;1-31 charcaters
ZENIC ONE Restful Service Provision Interface Specification
1.10 SQA
1.10.1 CONFIG UDP-JITTER SQA
Function: Create or Modify UDP-JITTER SQA instances
URL: POST /restconf/data/ietf-sqa/udpjitter:create
POST /restconf/data/ietf-sqa/udpjitter:modify
Parameters:
Parameter Description Value
BODY UDP-JITTER SQA instance List List<SqaUDPJitterConfig>
Response :
Parameter Description Value
errorInfo Description when error string
List of created/modified successfully sqaIDs. list<string>
sqaIDList SqaID format: ‘meUuid’:’serialNum’.
Response :
Parameter Description Value
errorInfo Description when error string
ZENIC ONE Restful Service Provision Interface Specification
sqaUdpJitterConf List of queried UDP-JITTER SQA instances list<SqaUDPJitterCo
igList nfig>
Response :
Parameter Description Value
errorInfo Description when error string
List of deleted successfully sqaIDs. SqaID format: list<string>
sqaIDList ‘meUuid’:’serialNum’.
1.11 INTEFACE
ZENIC ONE Restful Service Provision Interface Specification
1.11.1 Config_Interface
Function: Modify Physical ports
URL: POST /restconf/operation/ltp:modifyPtps
Parameters:
Parameter Description Value
BODY ptp List List<ptp>
neName ME uuid
ptp instance :
Parameter Description Value
id Interface id(not uuid) string
description Destination ptp string
l2Mtu Value of l2Mtu string
trafficStat “0”means stop and “1” means start string
rateSelect “101” means auto-negotiation, string
“202” means 10mbs half duplex,
“203” means 10mbs full duplex,
“302” means 100mbs half duplex,
“303” means 100mbs full duplex,
“402” means 1000mbs half duplex,
“403” means 1000mbs full duplex,
“503” means 10GE full duplex,
“1003” means 40GE full duplex,
“1103” means 100GE full duplex,
“1203” means 25GE full duplex,
“1303” means 50GE full duplex,
“1403” means 200GE full duplex,
“1503” means 400GE full duplex,
“1603” means auto(1000m),
“1703” means module rate self matching.
adminStatus “0”means stop and “1” means start integer
Response :
200 if successful.
1.11.2 Config_Sub_Interface
Function: Modify Sub interface
URL: POST /restconf/operation/ltp:modifyl3Ltps
ZENIC ONE Restful Service Provision Interface Specification
Parameters:
Parameter Description Value
BODY l3LtpForMod List List<l3LtpForMod >
neName ME uuid
l3LtpForMod instance :
Parameter Description Value
id Sub Interface id(not uuid) string
description Destination Sub Interface string
l2Mtu Value of l2Mtu string
ipv4Mtu Value of ipv4Mtu string
ipv6Mtu Value of ipv6Mtu string
adminStatus “0”means stop and “1” means start integer
Response :
200 if successful.
1.11.3 Delete_Sub_Interface
Function: Delete Sub interface
URL: POST /restconf/operation/ltp:deletel3Ltps
Parameters:
Parameter Description Value
BODY Sub Interface id(not uuid) List<l3LtpForDel>
neName ME uuid
l3LtpForDel instance :
Parameter Description Value
id Sub interface uuid for delete string
Response :
200 if successful.
1.12 Authentication
After the authentication function is enabled, all the interfaces whose URL with restconf/ must obtain
token first, and then accessToken: “xxxxx” is needed to fill in the message header to invoke the
anthentication interface normally.
A new user is needed to create on the UME and the admin user cannot be used directly.
For a new user, the account rule must be API access rule.
ZENIC ONE Restful Service Provision Interface Specification
1.12.1 Obtain Token
Function description: obtain the token information according to the user-name and password. All
interfaces are needed to fill token in the message header.
URL: /restconf/operation/ietf-security:oauth_token
Input parameter description:
Parameter Description Value
user-name Login user-name string
value Login password string
Return parameter description:
Parameter Description Value
expires Token validity is 1800s. string
accessToken Access Token string
2 Glossary
ABNO Application-based network operations
ACL Access control list
API Application programming interface
ASBR Autonomous System Border Route
BGP-LS Border Gateway Protocol Link-Stat
BGP-LU BGP Labeled Unicast
BHM Backhaul Module
BRAS Broadband remote access server
BSS Business Support Systems
CDN Content Delivery Network
CE Customer Edge
CEM Circuit Emulation
CGNAT Carrier-grade NAT
CIR Committed information rate
CRUD Create, Read, Update and Delete
DWDM Dense Wavelength Division Multiplexing
GMPLS General Multi-Protocol Label Switching
GUI Graphical user interface
HTTP Hypertext Transfer Protocol
IETF Internet Engineering Task Force
IGP Interior Gateway Protocol
ISIS Intermediate System to intermediate System
L2SM L2VPN Service Model
L3NM L3VPN Network Model
LAG Link aggregation group
LDP Label Distribution Protocol
LLDP Link Layer Discovery Protocol
LSP Label Switch Path
LSR Label Switching Router
MP-BGP Multiprotocol Extensions for BGP
MPLS Multiprotocol Label Switching
NBI Northbound interface
NMDA Network Management Datastore Architecture
ONF Open Networking Foundation
OSPF Open Shortest Path First
OSS Operation Support Systems
P2M Point-to-Multipoint
P2P Point-to-point
PCE Path Computation Element
PCEP Path Computation Element Communication Protocol
PE Provider Edge
PIR Peak Information Rate
PKI Public Key Infrastructure
PW Pseudowire
ZENIC ONE Restful Service Provision Interface Specification
QoS Quality of service
RD Route Distinguisher
RIP Routing Information Protocol
RPC Remote Procedure Call
RSVP Resource Reservation Protocol
RT Route Target
SBI South Bound Interface
SDN Software Defined Network
SDP Session Description Protocol
SecGW Security Gateway
SLA Service Level Agreement
SSE Server Sent Events
STP Spanning Tree Protocol
TAPI Transport API
TE Traffic engineering
TTL Time to live
UNI User-Network Interface
URI Uniform resource identifier
VCI Virtual Circuit Identifier
VLAN Virtual local area network
VPI Virtual Path Identifier
VPN Virtual Private Network
VRF Virtual Routing and Forwarding
ZENIC ONE Restful Service Provision Interface Specification
3 References
[1]. https://github.com/openconfig/public
[2]. https://datatracker.ietf.org/doc/rfc8466/
[3]. Layer 3 VPN Network Model draft-aguado-opsawg-l3sm-l3nm-01, https://tools.ietf.org/html/draft-
aguado-opsawg-l3sm-l3nm-01
[4]. https://github.com/YangModels/yang/tree/master/standard/ietf
[RFC 8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI
10.17487/RFC8040, January 2017, <https://www.rfc-editor.org/info/rfc8040>.
[RFC 6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., and A. Bierman, Ed., "Network
Configuration Protocol (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, <https://www.rfc-
editor.org/info/rfc6241>.
[RFC 7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", RFC 7950, DOI
10.17487/RFC7950, August 2016, <https://www.rfc-editor.org/info/rfc7950>.
[RFC 7895] Bierman, A., Bjorklund, M., and K. Watsen, "YANG Module Library", RFC 7895, DOI
10.17487/RFC7895, June 2016, <https://www.rfc-editor.org/info/rfc7895>.
[OpenAPI] OpenAPI Specification Version 3.0.2, <https://swagger.io/specification/>
[RFC 6455] Fette, I. and A. Melnikov, "The WebSocket Protocol", RFC 6455, DOI 10.17487/RFC6455,
December 2011, <https://www.rfc-editor.org/info/rfc6455>.
[W3C.REC-eventsource-20150203] Hickson, I., "Server-Sent Events", World Wide Web
Consortium Recommendation REC-eventsource-20150203, February 2015Considerations
<http://www.w3.org/TR/2015/REC-eventsource-20150203>.