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; }
11 revision "2013-10-20" {
12 description "Initial revision of affinity model to be reviewed";
15 //**************************************************
16 // Gateway hosting the network function.
17 //**************************************************
22 // Address is either an IP address, MAC address, or switch/port.
24 description "Mac or Inet address";
26 type inv:node-connector-id;
32 // 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";
61 type instance-identifier;
64 identity gateway-context;
66 // nf chain reference.
68 type instance-identifier;
70 identity chain-context;
72 //**************************************************
74 //**************************************************