Skip to content

Commit 2016e09

Browse files
Vipin Jainshaleman
Vipin Jain
authored andcommitted
add version and oper state for some objects (#25)
* - add version in api - add cfgProperties adn operProperties * fix linksets with operstate * add versioning in api, other fixes * add network oper proerties * avoid generating operlinks * avoid operlinks for client code gen * global oper state * Support for external contracts (provided and consumed) for ACI (#24) * Support for external contracts (provided and consumed) for ACI * Add tenant as part of the key for external contracts object * Just have a single link-set for all contract groups * Just have a single external contracts array at the epg level. * Add validators for contracts group name and tenant name for the external contracts object * merge contract groups change * rebase to latest * add versioning in api, other fixes * add network oper proerties * avoid generating operlinks * avoid operlinks for client code gen * global oper state * add version to external contracts object
1 parent 5d20bfb commit 2016e09

15 files changed

+840
-163
lines changed

appProfile.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
{
55
"name": "appProfile",
66
"type": "object",
7+
"version": "v1",
78
"key": [ "tenantName", "appProfileName" ],
8-
"properties": {
9+
"cfgProperties": {
910
"tenantName": {
1011
"type": "string",
1112
"title": "Tenant Name",

bgphost.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"name": "contivModel",
33
"objects": [{
44
"name": "Bgp",
5+
"version": "v1",
56
"type": "object",
67
"key": ["hostname"],
7-
"properties": {
8+
"cfgProperties": {
89
"hostname": {
910
"type": "string",
1011
"title": "host name",

0 commit comments

Comments
 (0)