2 namespace "urn:opendaylight:affinity:nfchain";
5 import ietf-inet-types { prefix inet; }
6 import ietf-yang-types { prefix yang; }
7 import yang-ext { prefix ext; }
8 import opendaylight-inventory {prefix inv;}
9 import opendaylight-l2-types { prefix l2types; }
10 import opendaylight-flow-types { prefix flow-types; }
12 revision "2013-10-20" {
13 description "Initial revision of affinity model to be reviewed";
16 //**************************************************
17 // Gateway hosting the network function.
18 //**************************************************
23 // xxx address is an IP prefix.
25 description "Inet address";
26 type inet:ipv4-prefix;
30 // Each nf chain has an id, a flowspec and a list of gateways.
42 ext:context-instance "gateway-context";
47 // Container for all nf_chain objects
51 ext:context-instance "chain-context";
56 identity gateway-context;
59 type instance-identifier;
62 // nf chain reference.
64 type instance-identifier;
66 identity chain-context;
68 //**************************************************
69 // Add a chain to the service.
70 //**************************************************