# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command

command.model_obj_type_enable_cascade_delete('address-space')
command.model_obj_type_enable_cascade_delete('address-space-identifier-rule')

command.model_obj_type_disable_submode('address-space')
command.model_obj_type_disable_submode('address-space-identifier-rule')

command.model_obj_type_disable_edit('address-space', 'active')
command.model_obj_type_disable_edit('address-space', 'description')
command.model_obj_type_disable_edit('address-space', 'priority')
command.model_obj_type_disable_edit('address-space', 'vlan-tag-on-egress')
command.model_obj_type_disable_edit('address-space', 'origin')

command.model_obj_type_disable_edit('address-space-identifier-rule', 'rule')
command.model_obj_type_disable_edit('address-space-identifier-rule', 'active')
command.model_obj_type_disable_edit('address-space-identifier-rule', 'ports')
command.model_obj_type_disable_edit('address-space-identifier-rule', 'mac')
예제 #2
0
#
# Copyright (c) 2013 Big Switch Networks, Inc.
#
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command

command.model_obj_type_enable_cascade_delete('tag-mapping')
예제 #3
0
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command 

command.model_obj_type_disable_submode('flow-entry')

command.model_obj_type_enable_cascade_delete('flow-entry')

command.model_obj_type_disable_edit('flow-entry', 'hard-timeout')
command.model_obj_type_disable_edit('flow-entry', 'idle-timeout')
command.model_obj_type_disable_edit('flow-entry', 'actions')
command.model_obj_type_disable_edit('flow-entry', 'active')
command.model_obj_type_disable_edit('flow-entry', 'priority')
command.model_obj_type_disable_edit('flow-entry', 'cookie')
command.model_obj_type_disable_edit('flow-entry', 'wildcards')
command.model_obj_type_disable_edit('flow-entry', 'ingress-port')
command.model_obj_type_disable_edit('flow-entry', 'src-mac')
command.model_obj_type_disable_edit('flow-entry', 'dst-mac')
command.model_obj_type_disable_edit('flow-entry', 'vlan-id')
command.model_obj_type_disable_edit('flow-entry', 'vlan-priority')
command.model_obj_type_disable_edit('flow-entry', 'ether-type')
command.model_obj_type_disable_edit('flow-entry', 'tos-bits')
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command

command.model_obj_type_enable_cascade_delete('address-space')
command.model_obj_type_enable_cascade_delete('address-space-identifier-rule')

command.model_obj_type_disable_submode('address-space')
command.model_obj_type_disable_submode('address-space-identifier-rule')

command.model_obj_type_disable_edit('address-space', 'active')
command.model_obj_type_disable_edit('address-space', 'description')
command.model_obj_type_disable_edit('address-space', 'priority')
command.model_obj_type_disable_edit('address-space', 'vlan-tag-on-egress')
command.model_obj_type_disable_edit('address-space', 'origin')

command.model_obj_type_disable_edit('address-space-identifier-rule', 'rule')
command.model_obj_type_disable_edit('address-space-identifier-rule', 'active')
command.model_obj_type_disable_edit('address-space-identifier-rule', 'ports')
command.model_obj_type_disable_edit('address-space-identifier-rule', 'mac')
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command

command.model_obj_type_disable_submode("flow-entry")

command.model_obj_type_enable_cascade_delete("flow-entry")

command.model_obj_type_disable_edit("flow-entry", "hard-timeout")
command.model_obj_type_disable_edit("flow-entry", "idle-timeout")
command.model_obj_type_disable_edit("flow-entry", "actions")
command.model_obj_type_disable_edit("flow-entry", "active")
command.model_obj_type_disable_edit("flow-entry", "priority")
command.model_obj_type_disable_edit("flow-entry", "cookie")
command.model_obj_type_disable_edit("flow-entry", "wildcards")
command.model_obj_type_disable_edit("flow-entry", "ingress-port")
command.model_obj_type_disable_edit("flow-entry", "src-mac")
command.model_obj_type_disable_edit("flow-entry", "dst-mac")
command.model_obj_type_disable_edit("flow-entry", "vlan-id")
command.model_obj_type_disable_edit("flow-entry", "vlan-priority")
command.model_obj_type_disable_edit("flow-entry", "ether-type")
command.model_obj_type_disable_edit("flow-entry", "tos-bits")
예제 #6
0
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command

command.model_obj_type_enable_cascade_delete('controller-node')
command.model_obj_type_enable_cascade_delete('controller-interface')
command.model_obj_type_enable_cascade_delete('controller-domain-name-server')
command.model_obj_type_enable_cascade_delete('controller-alias')
command.model_obj_type_enable_cascade_delete('firewall-rule')

command.model_obj_type_disable_submode('controller-node')
command.model_obj_type_disable_submode('controller-interface')
command.model_obj_type_disable_submode('controller-domain-name-server')
command.model_obj_type_disable_submode('controller-alias')
command.model_obj_type_disable_submode('firewall-rule')

command.model_obj_type_disable_edit('controller-node', 'domain-lookups-enabled')
command.model_obj_type_disable_edit('controller-node', 'domain-name')
command.model_obj_type_disable_edit('controller-node', 'default-gateway')
command.model_obj_type_disable_edit('controller-node', 'ntp-server')
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command

command.model_obj_type_enable_cascade_delete("controller-node")
command.model_obj_type_enable_cascade_delete("controller-interface")
command.model_obj_type_enable_cascade_delete("controller-domain-name-server")
command.model_obj_type_enable_cascade_delete("controller-alias")
command.model_obj_type_enable_cascade_delete("firewall-rule")

command.model_obj_type_disable_submode("controller-node")
command.model_obj_type_disable_submode("controller-interface")
command.model_obj_type_disable_submode("controller-domain-name-server")
command.model_obj_type_disable_submode("controller-alias")
command.model_obj_type_disable_submode("firewall-rule")

command.model_obj_type_disable_edit("controller-node", "domain-lookups-enabled")
command.model_obj_type_disable_edit("controller-node", "domain-name")
command.model_obj_type_disable_edit("controller-node", "default-gateway")
command.model_obj_type_disable_edit("controller-node", "ntp-server")
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command

command.model_obj_type_disable_submode('host-security-ip-address')
command.model_obj_type_disable_submode('host-security-attachment-point')

command.model_obj_type_disable_edit('host', 'last-seen')

command.model_obj_type_set_case('host', 'mac', 'lower')
command.model_obj_type_set_case('host-config', 'mac', 'lower')

command.model_obj_type_enable_cascade_delete('host-config')
command.model_obj_type_enable_cascade_delete('host-alias')
command.model_obj_type_enable_cascade_delete('host-security-ip-address')
command.model_obj_type_enable_cascade_delete('host-security-attachment-point')

command.model_obj_type_disable_edit('host-config', 'vlan')
command.model_obj_type_disable_edit('host-config', 'last-seen')
예제 #9
0
#
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
#      http://www.eclipse.org/legal/epl-v10.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied. See the License for the specific language governing
# permissions and limitations under the License.
#

import command
command.model_obj_type_enable_cascade_delete('tenant')
command.model_obj_type_enable_cascade_delete('virtualrouter')
command.model_obj_type_weak_with_cascade_delete('virtualrouter-interface')
command.model_obj_type_weak_with_cascade_delete('virtualrouter-routingrule')
command.model_obj_type_enable_cascade_delete('interface-address-pool')
command.model_obj_type_weak_with_cascade_delete('virtualrouter-gwpool')
command.model_obj_type_enable_cascade_delete('gateway-address-pool')

command.model_obj_type_disable_submode('virtualrouter')
command.model_obj_type_disable_submode('virtualrouter-interface')
command.model_obj_type_disable_submode('virtualrouter-gwpool')
command.model_obj_type_disable_submode('virtualrouter-routingrule')
command.model_obj_type_disable_submode('interface-address-pool')
command.model_obj_type_disable_submode('gateway-address-pool')
command.model_obj_type_disable_submode('static-arp')
command.model_obj_type_disable_submode('tenant')