Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CONTROLLER:
- root@kcon-cs-gen-01i:~# quantum net-list
- +--------------------------------------+--------------+--------------------------------------+
- | id | name | subnets |
- +--------------------------------------+--------------+--------------------------------------+
- | 654a49a3-f042-45eb-a937-0dcd6fcaa84c | ext_net | 842a2baa-829c-4daa-8d3d-77dace5fba86 |
- | c9c6a895-8bc1-4319-a207-30422d0d1a27 | net_proj_one | 4ecef580-27ad-44f1-851d-c2c4cd64d323 |
- +--------------------------------------+--------------+--------------------------------------+
- root@kcon-cs-gen-01i:~# quantum net-show 654a49a3-f042-45eb-a937-0dcd6fcaa84c
- +---------------------------+--------------------------------------+
- | Field | Value |
- +---------------------------+--------------------------------------+
- | admin_state_up | True |
- | id | 654a49a3-f042-45eb-a937-0dcd6fcaa84c |
- | name | ext_net |
- | provider:network_type | vlan |
- | provider:physical_network | physnet1 |
- | provider:segmentation_id | 3001 |
- | router:external | True |
- | shared | False |
- | status | ACTIVE |
- | subnets | 842a2baa-829c-4daa-8d3d-77dace5fba86 |
- | tenant_id | f49bb45e94024946871689654980bb94 |
- +---------------------------+--------------------------------------+
- root@kcon-cs-gen-01i:~# quantum net-show c9c6a895-8bc1-4319-a207-30422d0d1a27
- +---------------------------+--------------------------------------+
- | Field | Value |
- +---------------------------+--------------------------------------+
- | admin_state_up | True |
- | id | c9c6a895-8bc1-4319-a207-30422d0d1a27 |
- | name | net_proj_one |
- | provider:network_type | vlan |
- | provider:physical_network | physnet1 |
- | provider:segmentation_id | 1024 |
- | router:external | False |
- | shared | False |
- | status | ACTIVE |
- | subnets | 4ecef580-27ad-44f1-851d-c2c4cd64d323 |
- | tenant_id | 4647d67db3964ca499fd6274154aeefd |
- +---------------------------+--------------------------------------+
- root@kcon-cs-gen-01i:~# quantum floatingip-list
- +--------------------------------------+------------------+---------------------+--------------------------------------+
- | id | fixed_ip_address | floating_ip_address | port_id |
- +--------------------------------------+------------------+---------------------+--------------------------------------+
- | 3cc98a42-6ba5-4b75-bafb-8bcfd4fcfc51 | | 10.21.166.3 | |
- | 55e3b14e-9bce-4b14-8575-5b8775e15df7 | | 10.21.166.5 | |
- | 6dd70dbb-0354-4675-8bad-8d91fd635406 | 192.168.1.3 | 10.21.166.2 | 9cf85869-8882-41de-b652-f7b2d08f9f0a |
- | 8fb74d4c-add7-444d-ada8-98f23bca98a0 | | 10.21.166.4 | |
- +--------------------------------------+------------------+---------------------+--------------------------------------+
- root@kcon-cs-gen-01i:~# quantum subnet-list
- +--------------------------------------+------+----------------+--------------------------------------------------+
- | id | name | cidr | allocation_pools |
- +--------------------------------------+------+----------------+--------------------------------------------------+
- | 4ecef580-27ad-44f1-851d-c2c4cd64d323 | | 192.168.1.0/24 | {"start": "192.168.1.2", "end": "192.168.1.254"} |
- | 842a2baa-829c-4daa-8d3d-77dace5fba86 | | 10.21.164.0/22 | {"start": "10.21.166.1", "end": "10.21.166.254"} |
- +--------------------------------------+------+----------------+--------------------------------------------------+
- root@kcon-cs-gen-01i:~#
- root@kcon-cs-gen-01i:~# nova --os-username=user_one --os-password=user_one --os-tenant-name=project_one secgroup-list-rules default
- +-------------+-----------+---------+------------+--------------+
- | IP Protocol | From Port | To Port | IP Range | Source Group |
- +-------------+-----------+---------+------------+--------------+
- | icmp | -1 | -1 | 0.0.0.0/0 | |
- | tcp | 22 | 22 | 0.0.0.0/0 | |
- | tcp | 68 | 68 | 0.0.0.0/24 | |
- | tcp | 8080 | 8080 | 0.0.0.0/0 | |
- | udp | 68 | 68 | 0.0.0.0/24 | |
- +-------------+-----------+---------+------------+--------------+
- root@kcon-cs-gen-01i:~# nova --os-username=user_one --os-password=user_one --os-tenant-name=project_one show server-02
- +------------------------+----------------------------------------------------------+
- | Property | Value |
- +------------------------+----------------------------------------------------------+
- | OS-DCF:diskConfig | MANUAL |
- | OS-EXT-STS:power_state | 1 |
- | OS-EXT-STS:task_state | None |
- | OS-EXT-STS:vm_state | active |
- | accessIPv4 | |
- | accessIPv6 | |
- | config_drive | |
- | created | 2013-02-20T17:09:50Z |
- | flavor | m1.tiny (1) |
- | hostId | 5899e118d39546a27eff7ac7590f3c9d930e4bc75ee55487d04899e4 |
- | id | 12c37be6-14e3-471b-aae3-750af8cfca32 |
- | image | myFirstImage (51aa9c4b-23e5-4dfc-b97a-f45387cf9f81) |
- | key_name | None |
- | metadata | {} |
- | name | server-02 |
- | net_proj_one network | 192.168.1.3 |
- | progress | 0 |
- | security_groups | [{u'name': u'default'}] |
- | status | ACTIVE |
- | tenant_id | 4647d67db3964ca499fd6274154aeefd |
- | updated | 2013-02-20T19:17:53Z |
- | user_id | a52c1b0937c941efb5e0b3955f23b9cb |
- +------------------------+----------------------------------------------------------+
- NETWORK NODE
- root@knet-cs-gen-01i:~# ip addr show | egrep "^ *([0-9]+:|inet )"
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
- inet 127.0.0.1/8 scope host lo
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- inet 192.168.241.99/24 brd 192.168.241.255 scope global eth0
- 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- 4: eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq master br-ex state UP qlen 1000
- 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- 6: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
- inet 10.21.165.92/22 brd 10.21.167.255 scope global br-ex
- 7: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- 8: br-int: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- 15: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- 16: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- root@knet-cs-gen-01i:~# egrep -v "^ *(#|$)" /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet static
- address 192.168.241.99
- netmask 255.255.255.0
- gateway 192.168.241.1
- dns-namservers 192.168.241.10 10.21.164.97 10.21.161.19
- auto eth1
- iface eth1 inet manual
- up ifconfig $IFACE 0.0.0.0 up
- up ip link set $IFACE promisc on
- down ip link set $IFACE promisc off
- down ifconfig $IFACE down
- iface br-eth1 inet static
- address 192.168.239.9
- netmask 255.255.255.0
- gateway 192.168.239.1
- bridge_ports eth1
- auto eth2
- iface eth2 inet manual
- up ifconfig $IFACE 0.0.0.0 up
- up ip link set $IFACE promisc on
- down ip link set $IFACE promisc off
- down ifconfig $IFACE down
- auto br-ex
- iface br-ex inet static
- address 10.21.165.92
- netmask 255.255.252.0
- gateway 10.21.164.1
- bridge_ports eth2
- auto br-int
- iface br-int inet manual
- up ifconfig $IFACE 0.0.0.0 up
- up ip link set $IFACE promisc on
- down ip link set $IFACE promisc off
- down ifconfig $IFACE down
- root@knet-cs-gen-01i:~# brctl show
- bridge name bridge id STP enabled interfaces
- br-eth1 0000.3cd92bfaaa96 no eth1
- phy-br-eth1
- br-ex 8000.3cd92bfaaa98 no eth2
- br-int 0000.76a0f227de49 no int-br-eth1
- qr-973ae179-06
- tapca2d1ff4-7b
- root@knet-cs-gen-01i:~# ovs-vsctl show
- 7dc4a669-a330-4c5f-a6f1-ab9e35b82685
- Bridge br-int
- Port "qr-973ae179-06"
- Interface "qr-973ae179-06"
- type: internal
- Port br-int
- Interface br-int
- type: internal
- Port "int-br-eth1"
- Interface "int-br-eth1"
- Port "tapca2d1ff4-7b"
- tag: 1
- Interface "tapca2d1ff4-7b"
- type: internal
- Bridge br-ex
- Port br-ex
- Interface br-ex
- type: internal
- Port "qg-81523176-e1"
- Interface "qg-81523176-e1"
- type: internal
- Port "eth2"
- Interface "eth2"
- Bridge "br-eth1"
- Port "br-eth1"
- Interface "br-eth1"
- type: internal
- Port "eth1"
- Interface "eth1"
- Port "phy-br-eth1"
- Interface "phy-br-eth1"
- ovs_version: "1.4.3"
- root@knet-cs-gen-01i:~# ip netns list
- qdhcp-c9c6a895-8bc1-4319-a207-30422d0d1a27
- qrouter-ddd535ad-debb-4810-bc10-f419f105c959
- COMPUTE NODE
- 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
- inet 127.0.0.1/8 scope host lo
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- inet 192.168.241.110/24 brd 192.168.241.255 scope global eth0
- 3: eth1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
- 4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
- 6: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- inet 192.168.239.110/24 brd 192.168.239.255 scope global br-eth1
- 12: qvo5334a0cb-64: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- 13: qvb5334a0cb-64: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- 29: br-int: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
- 37: phy-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- 38: int-br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- 39: qbr9cf85869-88: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
- 40: qvo9cf85869-88: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- 41: qvb9cf85869-88: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr9cf85869-88 state UP qlen 1000
- 52: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master qbr9cf85869-88 state UNKNOWN qlen 500
- root@kvm-cs-sn-10i:~# egrep -v "^ *(#|$)" /etc/network/interfaces
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet static
- address 192.168.241.110
- netmask 255.255.255.0
- gateway 192.168.241.1
- dns-nameservers 192.168.241.10 10.21.164.97 10.21.161.19
- auto br-eth1
- iface br-eth1 inet static
- address 192.168.239.110
- netmask 255.255.255.0
- bridge_ports eth1
- auto eth1
- iface eth1 inet manual
- up ifconfig $IFACE 0.0.0.0 up
- up ip link set $IFACE promisc on
- down ip link set $IFACE promisc off
- down ifconfig $IFACE down
- auto br-int
- iface br-int inet manual
- up ifconfig $IFACE 0.0.0.0 up
- up ip link set $IFACE promisc on
- down ip link set $IFACE promisc off
- down ifconfig $IFACE down
- root@kvm-cs-sn-10i:~# brctl show
- bridge name bridge id STP enabled interfaces
- br-eth1 0000.bc305befedd1 no eth1
- phy-br-eth1
- br-int 0000.8ae31e5f7941 no int-br-eth1
- qvo9cf85869-88
- qbr9cf85869-88 8000.aeae57c4b763 no qvb9cf85869-88
- vnet0
- root@kvm-cs-sn-10i:~# ovs-vsctl show
- 9d9f7949-2b80-40c8-a9e0-6a116200ed96
- Bridge br-int
- Port "qvo9cf85869-88"
- tag: 1
- Interface "qvo9cf85869-88"
- Port br-int
- Interface br-int
- type: internal
- Port "int-br-eth1"
- Interface "int-br-eth1"
- Bridge "br-eth1"
- Port "br-eth1"
- Interface "br-eth1"
- type: internal
- Port "phy-br-eth1"
- Interface "phy-br-eth1"
- Port "eth1"
- Interface "eth1"
- ovs_version: "1.4.3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement