Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@puma09 ~(keystone_admin)]# neutron firewall-rule-list
- +--------------------------------------+------+--------------------+----------------------+---------+
- | id | name | firewall_policy_id | summary | enabled |
- +--------------------------------------+------+--------------------+----------------------+---------+
- | 5141c5d6-2892-4feb-9154-3c9b5e1c9476 | 1 | | TCP, | True |
- | | | | source: none(none), | |
- | | | | dest: none(none), | |
- | | | | allow | |
- +--------------------------------------+------+--------------------+----------------------+---------+
- [root@puma09 ~(keystone_admin)]# neutron firewall-policy-create --firewall-rules 5141c5d6-2892-4feb-9154-3c9b5e1c9476 policy1
- Created a new firewall_policy:
- +----------------+--------------------------------------+
- | Field | Value |
- +----------------+--------------------------------------+
- | audited | False |
- | description | |
- | firewall_rules | 5141c5d6-2892-4feb-9154-3c9b5e1c9476 |
- | id | c1f05baf-213f-4a4f-86e7-14d95ae697f3 |
- | name | policy1 |
- | shared | False |
- | tenant_id | fdaa28de32814677b4e49cc41ace61f3 |
- +----------------+--------------------------------------+
- [root@puma09 ~(keystone_admin)]#
- [root@puma09 ~(keystone_admin)]#
- [root@puma09 ~(keystone_admin)]#
- [root@puma09 ~(keystone_admin)]# neutron firewall-policy-list
- +--------------------------------------+---------+----------------------------------------+
- | id | name | firewall_rules |
- +--------------------------------------+---------+----------------------------------------+
- | c1f05baf-213f-4a4f-86e7-14d95ae697f3 | policy1 | [5141c5d6-2892-4feb-9154-3c9b5e1c9476] |
- +--------------------------------------+---------+----------------------------------------+
- [root@puma09 ~(keystone_admin)]# neutron firewall-create c1f05baf-213f-4a4f-86e7-14d95ae697f3
- Created a new firewall:
- +--------------------+--------------------------------------+
- | Field | Value |
- +--------------------+--------------------------------------+
- | admin_state_up | True |
- | description | |
- | firewall_policy_id | c1f05baf-213f-4a4f-86e7-14d95ae697f3 |
- | id | b34488f9-ad78-4acf-9813-5fd09e2c8c9f |
- | name | |
- | router_ids | 9357d778-8865-4756-961c-8e8a78924ef4 |
- | status | PENDING_CREATE |
- | tenant_id | fdaa28de32814677b4e49cc41ace61f3 |
- +--------------------+--------------------------------------+
- [root@puma09 ~(keystone_admin)]#
- [root@puma09 ~(keystone_admin)]#
- [root@puma09 ~(keystone_admin)]# neutron firewall-list
- +--------------------------------------+------+--------------------------------------+
- | id | name | firewall_policy_id |
- +--------------------------------------+------+--------------------------------------+
- | b34488f9-ad78-4acf-9813-5fd09e2c8c9f | | c1f05baf-213f-4a4f-86e7-14d95ae697f3 |
- +--------------------------------------+------+--------------------------------------+
- [root@puma09 ~(keystone_admin)]# neutron firewall-show b34488f9-ad78-4acf-9813-5fd09e2c8c9f
- +--------------------+--------------------------------------+
- | Field | Value |
- +--------------------+--------------------------------------+
- | admin_state_up | True |
- | description | |
- | firewall_policy_id | c1f05baf-213f-4a4f-86e7-14d95ae697f3 |
- | id | b34488f9-ad78-4acf-9813-5fd09e2c8c9f |
- | name | |
- | router_ids | 9357d778-8865-4756-961c-8e8a78924ef4 |
- | status | ACTIVE |
- | tenant_id | fdaa28de32814677b4e49cc41ace61f3 |
- +--------------------+--------------------------------------+
- [root@puma09 ~(keystone_admin)]#
- [root@puma09 ~(keystone_admin)]# neutron firewall-policy-list
- +--------------------------------------+---------+----------------------------------------+
- | id | name | firewall_rules |
- +--------------------------------------+---------+----------------------------------------+
- | c1f05baf-213f-4a4f-86e7-14d95ae697f3 | policy1 | [5141c5d6-2892-4feb-9154-3c9b5e1c9476] |
- +--------------------------------------+---------+----------------------------------------+
- [root@puma09 ~(keystone_admin)]# neutron firewall-rule-update 5141c5d6-2892-4feb-9154-3c9b5e1c9476 --protocol udp
- Updated firewall_rule: 5141c5d6-2892-4feb-9154-3c9b5e1c9476
- [root@puma09 ~(keystone_admin)]# neutron firewall-show b34488f9-ad78-4acf-9813-5fd09e2c8c9f
- +--------------------+--------------------------------------+
- | Field | Value |
- +--------------------+--------------------------------------+
- | admin_state_up | True |
- | description | |
- | firewall_policy_id | c1f05baf-213f-4a4f-86e7-14d95ae697f3 |
- | id | b34488f9-ad78-4acf-9813-5fd09e2c8c9f |
- | name | |
- | router_ids | 9357d778-8865-4756-961c-8e8a78924ef4 |
- | status | ERROR |
- | tenant_id | fdaa28de32814677b4e49cc41ace61f3 |
- +--------------------+--------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement