diff options
author | carey.xu <carey.xuhan@huawei.com> | 2015-10-13 22:37:21 +0800 |
---|---|---|
committer | carey.xu <carey.xuhan@huawei.com> | 2015-10-14 00:14:01 +0800 |
commit | 6303b57e8d7f3530d9dfd0896708a712fdc8f919 (patch) | |
tree | 97076ad34f2ea10aae5e088018099831f2e410c4 /deploy/template/vm | |
parent | 6cea13a2abbc7292c74de0bdf667d285e746845e (diff) |
support connecting compass core and virtual machine by external ip
JIRA: COMPASS-86
Change-Id: I53ac86242088d5d6f22f6d692a7e60ce97e07f6e
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/template/vm')
-rw-r--r-- | deploy/template/vm/compass.xml | 8 | ||||
-rw-r--r-- | deploy/template/vm/host.xml | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/deploy/template/vm/compass.xml b/deploy/template/vm/compass.xml index 453e728d..182232f4 100644 --- a/deploy/template/vm/compass.xml +++ b/deploy/template/vm/compass.xml @@ -41,13 +41,13 @@ <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface> - <interface type='bridge'> - <source bridge='REPLACE_BRIDGE_INSTALL'/> + <interface type='network'> + <source network='REPLACE_NET_INSTALL'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </interface> - <interface type='bridge'> - <source bridge='REPLACE_BRIDGE_EXTERNAL'/> + <interface type='network'> + <source network='REPLACE_NET_EXTERNAL'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </interface> diff --git a/deploy/template/vm/host.xml b/deploy/template/vm/host.xml index 11b29f0c..e6eca551 100644 --- a/deploy/template/vm/host.xml +++ b/deploy/template/vm/host.xml @@ -25,14 +25,14 @@ <source file='REPLACE_IMAGE'/> <target dev='vda' bus='virtio'/> </disk> - <interface type='bridge'> + <interface type='network'> <mac address=REPLACE_BOOT_MAC/> - <source bridge='REPLACE_BRIDGE_MGMT'/> + <source network='REPLACE_NET_INSTALL'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </interface> - <interface type='bridge'> - <source bridge='REPLACE_BRIDGE_TENANT'/> + <interface type='network'> + <source network='REPLACE_NET_TENANT'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface> |