diff options
author | 2020-05-19 09:44:44 -0700 | |
---|---|---|
committer | 2020-05-28 17:39:07 -0700 | |
commit | dbc8b2543e9c92a95b967a1abf2e5445e7799eeb (patch) | |
tree | 9fc7c8c71f0958f8efe4f99fe02a405373725cc1 /src/ncm/pkg/module/module_definitions.go | |
parent | 7fc603a5eedcd6a84860c881a1228309a308805f (diff) |
Fix Network and ProviderNetwork yaml formatting
Correct yaml format of Network and ProviderNetwork
CRs produced by ncm so that they can be deployed in
a cluster.
Issue-ID: MULTICLOUD-1072
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I27e55c0c7428ccee6ddb720445e104054eefcee3
Diffstat (limited to 'src/ncm/pkg/module/module_definitions.go')
-rw-r--r-- | src/ncm/pkg/module/module_definitions.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ncm/pkg/module/module_definitions.go b/src/ncm/pkg/module/module_definitions.go index 36c865a5..8d4b3ad7 100644 --- a/src/ncm/pkg/module/module_definitions.go +++ b/src/ncm/pkg/module/module_definitions.go @@ -65,7 +65,7 @@ const VLAN_NODE_SPECIFIC = "specific" var VLAN_NODE_SELECTORS = [...]string{VLAN_NODE_ANY, VLAN_NODE_SPECIFIC} type Vlan struct { - VlanId int `json:"vlanID" yaml:"vlanId"` + VlanId string `json:"vlanID" yaml:"vlanId"` ProviderInterfaceName string `json:"providerInterfaceName" yaml:"providerInterfaceName"` LogicalInterfaceName string `json:"logicalInterfaceName" yaml:"logicalInterfaceName"` VlanNodeSelector string `json:"vlanNodeSelector" yaml:"vlanNodeSelector"` |