This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
copper:copper_work_items:academy:foreman [2015/09/25 18:04] Bryan Sullivan created |
copper:copper_work_items:academy:foreman [2015/09/25 18:57] (current) Bryan Sullivan |
||
|---|---|---|---|
| Line 253: | Line 253: | ||
| PROMISC=yes | PROMISC=yes | ||
| PEERDNS=no | PEERDNS=no | ||
| + | </code> | ||
| + | |||
| + | * Verify ovs is setup correctly | ||
| + | <code> | ||
| + | [root@oscontroller1 ~]# ovs-vsctl show | ||
| + | 22ba4760-889c-4341-b8d6-445c53ac5aaa | ||
| + | Manager "tcp:192.168.1.204:6640" | ||
| + | is_connected: true | ||
| + | Bridge br-ex | ||
| + | Controller "tcp:192.168.1.204:6633" | ||
| + | is_connected: true | ||
| + | Port "enp0s25" | ||
| + | Interface "enp0s25" | ||
| + | Port br-ex | ||
| + | Interface br-ex | ||
| + | type: internal | ||
| + | Bridge br-int | ||
| + | Controller "tcp:192.168.1.204:6633" | ||
| + | is_connected: true | ||
| + | fail_mode: secure | ||
| + | Port br-int | ||
| + | Interface br-int | ||
| + | ovs_version: "2.3.1" | ||
| </code> | </code> | ||
| Line 287: | Line 310: | ||
| * Create external network and subnet using Neutron CLI | * Create external network and subnet using Neutron CLI | ||
| <code> | <code> | ||
| - | neutron net-create external1 -- --router:external=true --provider:network_type=flat --provider:physical_network=physnet | + | neutron net-create external1 -- --router:external=true --provider:network_type=flat --provider:physical_network=physnet1 |
| + | Created a new network: | ||
| + | +---------------------------+--------------------------------------+ | ||
| + | | Field | Value | | ||
| + | +---------------------------+--------------------------------------+ | ||
| + | | admin_state_up | True | | ||
| + | | id | d7868a94-47ec-4ec7-93cc-645d3bc45898 | | ||
| + | | name | external1 | | ||
| + | | provider:network_type | flat | | ||
| + | | provider:physical_network | physnet1 | | ||
| + | | provider:segmentation_id | | | ||
| + | | router:external | True | | ||
| + | | shared | False | | ||
| + | | status | ACTIVE | | ||
| + | | subnets | | | ||
| + | | tenant_id | c3b15e900f0f4c7ab01576bb28d34f10 | | ||
| + | +---------------------------+--------------------------------------+ | ||
| neutron subnet-create --disable-dhcp external1 192.168.1.0/24 | neutron subnet-create --disable-dhcp external1 192.168.1.0/24 | ||
| + | Created a new subnet: | ||
| + | +-------------------+--------------------------------------------------+ | ||
| + | | Field | Value | | ||
| + | +-------------------+--------------------------------------------------+ | ||
| + | | allocation_pools | {"start": "192.168.1.2", "end": "192.168.1.254"} | | ||
| + | | cidr | 192.168.1.0/24 | | ||
| + | | dns_nameservers | | | ||
| + | | enable_dhcp | False | | ||
| + | | gateway_ip | 192.168.1.1 | | ||
| + | | host_routes | | | ||
| + | | id | 2a6a6be2-2ea2-4a38-84cd-3a2e9e3197e8 | | ||
| + | | ip_version | 4 | | ||
| + | | ipv6_address_mode | | | ||
| + | | ipv6_ra_mode | | | ||
| + | | name | | | ||
| + | | network_id | d7868a94-47ec-4ec7-93cc-645d3bc45898 | | ||
| + | | tenant_id | c3b15e900f0f4c7ab01576bb28d34f10 | | ||
| + | +-------------------+--------------------------------------------------+ | ||
| </code> | </code> | ||