Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- neutron net-create --provider:physical_network=physnet2 --provider:network_type=vlan --provider:segmentation_id=1001 sriov
- root@node-6:~# neutron net-show 7faaf66c-7ebd-45e8-be7a-3ae5ee8a9f4a
- +---------------------------+--------------------------------------+
- | Field | Value |
- +---------------------------+--------------------------------------+
- | admin_state_up | True |
- | id | 7faaf66c-7ebd-45e8-be7a-3ae5ee8a9f4a |
- | name | sriov_test |
- | provider:network_type | vlan |
- | provider:physical_network | physnet2 |
- | provider:segmentation_id | 1001 |
- | router:external | False |
- | shared | False |
- | status | ACTIVE |
- | subnets | |
- | tenant_id | ddb54e56b4094f69945d4e1bd426482b |
- +---------------------------+--------------------------------------+
- root@node-6:~# neutron port-create 7faaf66c-7ebd-45e8-be7a-3ae5ee8a9f4a --name sriov_port --binding:vnic-type direct
- Created a new port:
- +-----------------------+--------------------------------------+
- | Field | Value |
- +-----------------------+--------------------------------------+
- | admin_state_up | True |
- | allowed_address_pairs | |
- | binding:host_id | |
- | binding:profile | {} |
- | binding:vif_details | {} |
- | binding:vif_type | unbound |
- | binding:vnic_type | direct |
- | device_id | |
- | device_owner | |
- | fixed_ips | |
- | id | b2706680-a8a3-4062-9ea5-28a5513cfd50 |
- | mac_address | fa:16:3e:e7:15:55 |
- | name | sriov_port |
- | network_id | 7faaf66c-7ebd-45e8-be7a-3ae5ee8a9f4a |
- | security_groups | 19b15ab6-daa7-4eee-935e-87ca77d2e62b |
- | status | DOWN |
- | tenant_id | ddb54e56b4094f69945d4e1bd426482b |
- +-----------------------+--------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement