Fixes broken Makefile as well as fixes management network for single-node-pod (development) environments.
When Makefiles were refactored as part of https://gerrit.opencord.org/gitweb?p=service-profile.git;a=commitdiff;h=3670f448a2d287e5471eeb53f20fc9c4832f19b0
include $(COMMON_DIR)/Makefile should have been included in mcord's Makefile.
Also xos is built around the rack server's management network. Including the default to work for single-node-pod mcord development environments.
Change-Id: Ic8482bb3e55f0cfceea0f37eb61514f6bf58696d
diff --git a/mcord/mgmt-net.yaml.cloudlab b/mcord/mgmt-net.yaml.cloudlab
new file mode 100644
index 0000000..2bd0173
--- /dev/null
+++ b/mcord/mgmt-net.yaml.cloudlab
@@ -0,0 +1,40 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+
+description: Set up management network for CORD POD
+imports:
+ - custom_types/xos.yaml
+
+topology_template:
+ node_templates:
+
+ management_template:
+ type: tosca.nodes.NetworkTemplate
+ properties:
+ visibility: private
+ translation: none
+
+ management:
+ type: tosca.nodes.network.Network
+ properties:
+ ip_version: 4
+ cidr: 172.27.0.0/24
+ requirements:
+ - network_template:
+ node: management_template
+ relationship: tosca.relationships.UsesNetworkTemplate
+ - owner:
+ node: mysite_management
+ relationship: tosca.relationships.MemberOfSlice
+
+ mysite:
+ type: tosca.nodes.Site
+
+ mysite_management:
+ description: This slice exists solely to own the management network
+ type: tosca.nodes.Slice
+ properties:
+ network: noauto
+ requirements:
+ - site:
+ node: mysite
+ relationship: tosca.relationships.MemberOfSite