body_hash stringlengths 64 64 | body stringlengths 23 109k | docstring stringlengths 1 57k | path stringlengths 4 198 | name stringlengths 1 115 | repository_name stringlengths 7 111 | repository_stars float64 0 191k | lang stringclasses 1
value | body_without_docstring stringlengths 14 108k | unified stringlengths 45 133k |
|---|---|---|---|---|---|---|---|---|---|
10e2ca67c5668232eaf52a548c3c71f73ed1f7aadd9446f7cd1d6cd709645d39 | def list_ports(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ports\n salt '*' neutron.list_ports profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of port\n "
... | Fetches a list of all networks for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_ports
salt '*' neutron.list_ports profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of port | salt/modules/neutron.py | list_ports | belvedere-trading/salt | 3 | python | def list_ports(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ports\n salt '*' neutron.list_ports profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of port\n "
... | def list_ports(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ports\n salt '*' neutron.list_ports profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of port\n "
... |
59f65f550618ea02e64c9d62ef4e52f498603a8cb4eebfedb5e5ae1bb890f64d | def show_port(port, profile=None):
"\n Fetches information of a certain port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_port port-id\n salt '*' neutron.show_port port-id profile=openstack1\n\n :param port: ID or name of port to look up\n :param profile: Profile ... | Fetches information of a certain port
CLI Example:
.. code-block:: bash
salt '*' neutron.show_port port-id
salt '*' neutron.show_port port-id profile=openstack1
:param port: ID or name of port to look up
:param profile: Profile to build on (Optional)
:return: Port information | salt/modules/neutron.py | show_port | belvedere-trading/salt | 3 | python | def show_port(port, profile=None):
"\n Fetches information of a certain port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_port port-id\n salt '*' neutron.show_port port-id profile=openstack1\n\n :param port: ID or name of port to look up\n :param profile: Profile ... | def show_port(port, profile=None):
"\n Fetches information of a certain port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_port port-id\n salt '*' neutron.show_port port-id profile=openstack1\n\n :param port: ID or name of port to look up\n :param profile: Profile ... |
2dc79463bedac51e80f32e251ea71c75126bfc057bf056a15acd4560b4595ce8 | def create_port(name, network, device_id=None, admin_state_up=True, profile=None):
"\n Creates a new port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_port network-name port-name\n\n :param name: Name of port to create\n :param network: Network name or ID\n :param d... | Creates a new port
CLI Example:
.. code-block:: bash
salt '*' neutron.create_port network-name port-name
:param name: Name of port to create
:param network: Network name or ID
:param device_id: ID of device (Optional)
:param admin_state_up: Set admin state up to true or false,
default: true (Optional)
:... | salt/modules/neutron.py | create_port | belvedere-trading/salt | 3 | python | def create_port(name, network, device_id=None, admin_state_up=True, profile=None):
"\n Creates a new port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_port network-name port-name\n\n :param name: Name of port to create\n :param network: Network name or ID\n :param d... | def create_port(name, network, device_id=None, admin_state_up=True, profile=None):
"\n Creates a new port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_port network-name port-name\n\n :param name: Name of port to create\n :param network: Network name or ID\n :param d... |
a2c642f18f06956fc2e49e2be2c62dfb2da4db771505d5f2fe25678f9b832762 | def update_port(port, name, admin_state_up=True, profile=None):
"\n Updates a port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_port port-name network-name new-port-name\n\n :param port: Port name or ID\n :param name: Name of this port\n :param admin_state_up: Set a... | Updates a port
CLI Example:
.. code-block:: bash
salt '*' neutron.update_port port-name network-name new-port-name
:param port: Port name or ID
:param name: Name of this port
:param admin_state_up: Set admin state up to true or false,
default: true (Optional)
:param profile: Profile to build on (Optiona... | salt/modules/neutron.py | update_port | belvedere-trading/salt | 3 | python | def update_port(port, name, admin_state_up=True, profile=None):
"\n Updates a port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_port port-name network-name new-port-name\n\n :param port: Port name or ID\n :param name: Name of this port\n :param admin_state_up: Set a... | def update_port(port, name, admin_state_up=True, profile=None):
"\n Updates a port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_port port-name network-name new-port-name\n\n :param port: Port name or ID\n :param name: Name of this port\n :param admin_state_up: Set a... |
3816a747f8794a21543b4c5255852570c7df5db9f7984429d5f17f23b577a1ce | def delete_port(port, profile=None):
"\n Deletes the specified port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_network port-name\n salt '*' neutron.delete_network port-name profile=openstack1\n\n :param port: port name or ID\n :param profile: Profile to build ... | Deletes the specified port
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_network port-name
salt '*' neutron.delete_network port-name profile=openstack1
:param port: port name or ID
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_port | belvedere-trading/salt | 3 | python | def delete_port(port, profile=None):
"\n Deletes the specified port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_network port-name\n salt '*' neutron.delete_network port-name profile=openstack1\n\n :param port: port name or ID\n :param profile: Profile to build ... | def delete_port(port, profile=None):
"\n Deletes the specified port\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_network port-name\n salt '*' neutron.delete_network port-name profile=openstack1\n\n :param port: port name or ID\n :param profile: Profile to build ... |
ec5db7b24dca564690d50f486f3964ae2c2eae9bd55b1caccd311329e1ccecb1 | def list_networks(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_networks\n salt '*' neutron.list_networks profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of network... | Fetches a list of all networks for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_networks
salt '*' neutron.list_networks profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of network | salt/modules/neutron.py | list_networks | belvedere-trading/salt | 3 | python | def list_networks(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_networks\n salt '*' neutron.list_networks profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of network... | def list_networks(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_networks\n salt '*' neutron.list_networks profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of network... |
56a2a94901621ffc2f096d9d596ad5dd9e54cfa2f62e34bdb595b9826dd1f01c | def show_network(network, profile=None):
"\n Fetches information of a certain network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_network network-name\n salt '*' neutron.show_network network-name profile=openstack1\n\n :param network: ID or name of network to look u... | Fetches information of a certain network
CLI Example:
.. code-block:: bash
salt '*' neutron.show_network network-name
salt '*' neutron.show_network network-name profile=openstack1
:param network: ID or name of network to look up
:param profile: Profile to build on (Optional)
:return: Network information | salt/modules/neutron.py | show_network | belvedere-trading/salt | 3 | python | def show_network(network, profile=None):
"\n Fetches information of a certain network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_network network-name\n salt '*' neutron.show_network network-name profile=openstack1\n\n :param network: ID or name of network to look u... | def show_network(network, profile=None):
"\n Fetches information of a certain network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_network network-name\n salt '*' neutron.show_network network-name profile=openstack1\n\n :param network: ID or name of network to look u... |
6dddfed5c4d661e0e990da37079c6fef72aaa2ff957d0f14ee60fde1e1203e2b | def create_network(name, router_ext=None, admin_state_up=True, network_type=None, physical_network=None, segmentation_id=None, shared=None, profile=None):
"\n Creates a new network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_network network-name\n salt '*' neutron.cr... | Creates a new network
CLI Example:
.. code-block:: bash
salt '*' neutron.create_network network-name
salt '*' neutron.create_network network-name profile=openstack1
:param name: Name of network to create
:param admin_state_up: should the state of the network be up?
default: True (Optional)
:param ro... | salt/modules/neutron.py | create_network | belvedere-trading/salt | 3 | python | def create_network(name, router_ext=None, admin_state_up=True, network_type=None, physical_network=None, segmentation_id=None, shared=None, profile=None):
"\n Creates a new network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_network network-name\n salt '*' neutron.cr... | def create_network(name, router_ext=None, admin_state_up=True, network_type=None, physical_network=None, segmentation_id=None, shared=None, profile=None):
"\n Creates a new network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_network network-name\n salt '*' neutron.cr... |
308c1e1949910622bf1835194dcd3e59ebf9dcfa43aa43d6e4d7d5ea5be1a70d | def update_network(network, name, profile=None):
"\n Updates a network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_network network-name new-network-name\n\n :param network: ID or name of network to update\n :param name: Name of this network\n :param profile: Profil... | Updates a network
CLI Example:
.. code-block:: bash
salt '*' neutron.update_network network-name new-network-name
:param network: ID or name of network to update
:param name: Name of this network
:param profile: Profile to build on (Optional)
:return: Value of updated network information | salt/modules/neutron.py | update_network | belvedere-trading/salt | 3 | python | def update_network(network, name, profile=None):
"\n Updates a network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_network network-name new-network-name\n\n :param network: ID or name of network to update\n :param name: Name of this network\n :param profile: Profil... | def update_network(network, name, profile=None):
"\n Updates a network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_network network-name new-network-name\n\n :param network: ID or name of network to update\n :param name: Name of this network\n :param profile: Profil... |
47bdbf9ff087cf5040631c8cb72333e37a654f7e316930040b14bcf822c6c676 | def delete_network(network, profile=None):
"\n Deletes the specified network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_network network-name\n salt '*' neutron.delete_network network-name profile=openstack1\n\n :param network: ID or name of network to delete\n ... | Deletes the specified network
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_network network-name
salt '*' neutron.delete_network network-name profile=openstack1
:param network: ID or name of network to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_network | belvedere-trading/salt | 3 | python | def delete_network(network, profile=None):
"\n Deletes the specified network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_network network-name\n salt '*' neutron.delete_network network-name profile=openstack1\n\n :param network: ID or name of network to delete\n ... | def delete_network(network, profile=None):
"\n Deletes the specified network\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_network network-name\n salt '*' neutron.delete_network network-name profile=openstack1\n\n :param network: ID or name of network to delete\n ... |
c9af349d86ed217a6e93702dbb2c03be54b236dd14a6ed6abc5c2e73e2c9d2c7 | def list_subnets(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_subnets\n salt '*' neutron.list_subnets profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of subnet\n ... | Fetches a list of all networks for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_subnets
salt '*' neutron.list_subnets profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of subnet | salt/modules/neutron.py | list_subnets | belvedere-trading/salt | 3 | python | def list_subnets(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_subnets\n salt '*' neutron.list_subnets profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of subnet\n ... | def list_subnets(profile=None):
"\n Fetches a list of all networks for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_subnets\n salt '*' neutron.list_subnets profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of subnet\n ... |
a20165b8153654c1387379ec1b93d16cfd21538656ee133caf1b04fd3a6018dd | def show_subnet(subnet, profile=None):
"\n Fetches information of a certain subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_subnet subnet-name\n\n :param subnet: ID or name of subnet to look up\n :param profile: Profile to build on (Optional)\n :return: Subnet inf... | Fetches information of a certain subnet
CLI Example:
.. code-block:: bash
salt '*' neutron.show_subnet subnet-name
:param subnet: ID or name of subnet to look up
:param profile: Profile to build on (Optional)
:return: Subnet information | salt/modules/neutron.py | show_subnet | belvedere-trading/salt | 3 | python | def show_subnet(subnet, profile=None):
"\n Fetches information of a certain subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_subnet subnet-name\n\n :param subnet: ID or name of subnet to look up\n :param profile: Profile to build on (Optional)\n :return: Subnet inf... | def show_subnet(subnet, profile=None):
"\n Fetches information of a certain subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_subnet subnet-name\n\n :param subnet: ID or name of subnet to look up\n :param profile: Profile to build on (Optional)\n :return: Subnet inf... |
2eac8cf935fe3b1ea98e4e61f555363984b61835edf801fe6ae803e09d8489ed | def create_subnet(network, cidr, name=None, ip_version=4, profile=None):
"\n Creates a new subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_subnet network-name 192.168.1.0/24\n\n :param network: Network ID or name this subnet belongs to\n :param cidr: CIDR of subnet... | Creates a new subnet
CLI Example:
.. code-block:: bash
salt '*' neutron.create_subnet network-name 192.168.1.0/24
:param network: Network ID or name this subnet belongs to
:param cidr: CIDR of subnet to create (Ex. '192.168.1.0/24')
:param name: Name of the subnet to create (Optional)
:param ip_version: Version... | salt/modules/neutron.py | create_subnet | belvedere-trading/salt | 3 | python | def create_subnet(network, cidr, name=None, ip_version=4, profile=None):
"\n Creates a new subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_subnet network-name 192.168.1.0/24\n\n :param network: Network ID or name this subnet belongs to\n :param cidr: CIDR of subnet... | def create_subnet(network, cidr, name=None, ip_version=4, profile=None):
"\n Creates a new subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_subnet network-name 192.168.1.0/24\n\n :param network: Network ID or name this subnet belongs to\n :param cidr: CIDR of subnet... |
a48809614b61b429953fac849bef4107bb7779d7576d2b57c070bcb17efc2dc6 | def update_subnet(subnet, name, profile=None):
"\n Updates a subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_subnet subnet-name new-subnet-name\n\n :param subnet: ID or name of subnet to update\n :param name: Name of this subnet\n :param profile: Profile to buil... | Updates a subnet
CLI Example:
.. code-block:: bash
salt '*' neutron.update_subnet subnet-name new-subnet-name
:param subnet: ID or name of subnet to update
:param name: Name of this subnet
:param profile: Profile to build on (Optional)
:return: Value of updated subnet information | salt/modules/neutron.py | update_subnet | belvedere-trading/salt | 3 | python | def update_subnet(subnet, name, profile=None):
"\n Updates a subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_subnet subnet-name new-subnet-name\n\n :param subnet: ID or name of subnet to update\n :param name: Name of this subnet\n :param profile: Profile to buil... | def update_subnet(subnet, name, profile=None):
"\n Updates a subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_subnet subnet-name new-subnet-name\n\n :param subnet: ID or name of subnet to update\n :param name: Name of this subnet\n :param profile: Profile to buil... |
d56fa67e7486c044b74ee2e08c2c365dcedd6b9e370999891e8a392efd1c4d7d | def delete_subnet(subnet, profile=None):
"\n Deletes the specified subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_subnet subnet-name\n salt '*' neutron.delete_subnet subnet-name profile=openstack1\n\n :param subnet: ID or name of subnet to delete\n :param p... | Deletes the specified subnet
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_subnet subnet-name
salt '*' neutron.delete_subnet subnet-name profile=openstack1
:param subnet: ID or name of subnet to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_subnet | belvedere-trading/salt | 3 | python | def delete_subnet(subnet, profile=None):
"\n Deletes the specified subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_subnet subnet-name\n salt '*' neutron.delete_subnet subnet-name profile=openstack1\n\n :param subnet: ID or name of subnet to delete\n :param p... | def delete_subnet(subnet, profile=None):
"\n Deletes the specified subnet\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_subnet subnet-name\n salt '*' neutron.delete_subnet subnet-name profile=openstack1\n\n :param subnet: ID or name of subnet to delete\n :param p... |
91fa00c32e188f734a76d7f893351e4e8c23d749021bcfb81a365f871da35441 | def list_routers(profile=None):
"\n Fetches a list of all routers for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_routers\n salt '*' neutron.list_routers profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of router\n ... | Fetches a list of all routers for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_routers
salt '*' neutron.list_routers profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of router | salt/modules/neutron.py | list_routers | belvedere-trading/salt | 3 | python | def list_routers(profile=None):
"\n Fetches a list of all routers for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_routers\n salt '*' neutron.list_routers profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of router\n ... | def list_routers(profile=None):
"\n Fetches a list of all routers for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_routers\n salt '*' neutron.list_routers profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List of router\n ... |
de1767e77b8021a2771bb1f2699af4814bb2abb16076c4ddfe5b0ca59ed76027 | def show_router(router, profile=None):
"\n Fetches information of a certain router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_router router-name\n\n :param router: ID or name of router to look up\n :param profile: Profile to build on (Optional)\n :return: Router inf... | Fetches information of a certain router
CLI Example:
.. code-block:: bash
salt '*' neutron.show_router router-name
:param router: ID or name of router to look up
:param profile: Profile to build on (Optional)
:return: Router information | salt/modules/neutron.py | show_router | belvedere-trading/salt | 3 | python | def show_router(router, profile=None):
"\n Fetches information of a certain router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_router router-name\n\n :param router: ID or name of router to look up\n :param profile: Profile to build on (Optional)\n :return: Router inf... | def show_router(router, profile=None):
"\n Fetches information of a certain router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_router router-name\n\n :param router: ID or name of router to look up\n :param profile: Profile to build on (Optional)\n :return: Router inf... |
ad20dd1e2e0f6109ef80c52bf52a152e352c230d3a4d4ac549ebc3128b0508ba | def create_router(name, ext_network=None, admin_state_up=True, profile=None):
"\n Creates a new router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_router new-router-name\n\n :param name: Name of router to create (must be first)\n :param ext_network: ID or name of the ... | Creates a new router
CLI Example:
.. code-block:: bash
salt '*' neutron.create_router new-router-name
:param name: Name of router to create (must be first)
:param ext_network: ID or name of the external for the gateway (Optional)
:param admin_state_up: Set admin state up to true or false,
default:true (... | salt/modules/neutron.py | create_router | belvedere-trading/salt | 3 | python | def create_router(name, ext_network=None, admin_state_up=True, profile=None):
"\n Creates a new router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_router new-router-name\n\n :param name: Name of router to create (must be first)\n :param ext_network: ID or name of the ... | def create_router(name, ext_network=None, admin_state_up=True, profile=None):
"\n Creates a new router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_router new-router-name\n\n :param name: Name of router to create (must be first)\n :param ext_network: ID or name of the ... |
2cc914e1996d8d48a4dbd395cb13a7de7edaf83e5d4ea981cb8d0f02ef79a8f9 | def update_router(router, name=None, admin_state_up=None, profile=None, **kwargs):
"\n Updates a router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_router router_id name=new-router-name\n admin_state_up=True\n\n :param router: ID or name of router to updat... | Updates a router
CLI Example:
.. code-block:: bash
salt '*' neutron.update_router router_id name=new-router-name
admin_state_up=True
:param router: ID or name of router to update
:param name: Name of this router
:param ext_network: ID or name of the external for the gateway (Optional)
:param admin_s... | salt/modules/neutron.py | update_router | belvedere-trading/salt | 3 | python | def update_router(router, name=None, admin_state_up=None, profile=None, **kwargs):
"\n Updates a router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_router router_id name=new-router-name\n admin_state_up=True\n\n :param router: ID or name of router to updat... | def update_router(router, name=None, admin_state_up=None, profile=None, **kwargs):
"\n Updates a router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_router router_id name=new-router-name\n admin_state_up=True\n\n :param router: ID or name of router to updat... |
a82ba3fd61f9c243146a488d8727eab1eb40de854af2e5afbbe9e94b7e4a78ad | def delete_router(router, profile=None):
"\n Delete the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_router router-name\n\n :param router: ID or name of router to delete\n :param profile: Profile to build on (Optional)\n :return: True(Succeed) or Fa... | Delete the specified router
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_router router-name
:param router: ID or name of router to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_router | belvedere-trading/salt | 3 | python | def delete_router(router, profile=None):
"\n Delete the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_router router-name\n\n :param router: ID or name of router to delete\n :param profile: Profile to build on (Optional)\n :return: True(Succeed) or Fa... | def delete_router(router, profile=None):
"\n Delete the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_router router-name\n\n :param router: ID or name of router to delete\n :param profile: Profile to build on (Optional)\n :return: True(Succeed) or Fa... |
ad94f5b3eef54d02f040f0dffe4b50ddd8d7531a70b418d9fa733b435870e077 | def add_interface_router(router, subnet, profile=None):
"\n Adds an internal network interface to the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.add_interface_router router-name subnet-name\n\n :param router: ID or name of the router\n :param subnet: ID or ... | Adds an internal network interface to the specified router
CLI Example:
.. code-block:: bash
salt '*' neutron.add_interface_router router-name subnet-name
:param router: ID or name of the router
:param subnet: ID or name of the subnet
:param profile: Profile to build on (Optional)
:return: Added interface infor... | salt/modules/neutron.py | add_interface_router | belvedere-trading/salt | 3 | python | def add_interface_router(router, subnet, profile=None):
"\n Adds an internal network interface to the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.add_interface_router router-name subnet-name\n\n :param router: ID or name of the router\n :param subnet: ID or ... | def add_interface_router(router, subnet, profile=None):
"\n Adds an internal network interface to the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.add_interface_router router-name subnet-name\n\n :param router: ID or name of the router\n :param subnet: ID or ... |
5127225a3fc2b8d7a4b7266276ac0d7b447d7c0356f61ba555caebbca29ded5e | def remove_interface_router(router, subnet, profile=None):
"\n Removes an internal network interface from the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.remove_interface_router router-name subnet-name\n\n :param router: ID or name of the router\n :param sub... | Removes an internal network interface from the specified router
CLI Example:
.. code-block:: bash
salt '*' neutron.remove_interface_router router-name subnet-name
:param router: ID or name of the router
:param subnet: ID or name of the subnet
:param profile: Profile to build on (Optional)
:return: True(Succeed)... | salt/modules/neutron.py | remove_interface_router | belvedere-trading/salt | 3 | python | def remove_interface_router(router, subnet, profile=None):
"\n Removes an internal network interface from the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.remove_interface_router router-name subnet-name\n\n :param router: ID or name of the router\n :param sub... | def remove_interface_router(router, subnet, profile=None):
"\n Removes an internal network interface from the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.remove_interface_router router-name subnet-name\n\n :param router: ID or name of the router\n :param sub... |
ceef7a943a3e05b2990291ad21618f960cd5d89e65632d118a66b4df5b66f6c5 | def add_gateway_router(router, ext_network, profile=None):
"\n Adds an external network gateway to the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.add_gateway_router router-name ext-network-name\n\n :param router: ID or name of the router\n :param ext_networ... | Adds an external network gateway to the specified router
CLI Example:
.. code-block:: bash
salt '*' neutron.add_gateway_router router-name ext-network-name
:param router: ID or name of the router
:param ext_network: ID or name of the external network the gateway
:param profile: Profile to build on (Optional)
:r... | salt/modules/neutron.py | add_gateway_router | belvedere-trading/salt | 3 | python | def add_gateway_router(router, ext_network, profile=None):
"\n Adds an external network gateway to the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.add_gateway_router router-name ext-network-name\n\n :param router: ID or name of the router\n :param ext_networ... | def add_gateway_router(router, ext_network, profile=None):
"\n Adds an external network gateway to the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.add_gateway_router router-name ext-network-name\n\n :param router: ID or name of the router\n :param ext_networ... |
423357e26f79413bb0315f237e9f817fd9c8a8459fca49a744eb3ff80d26587f | def remove_gateway_router(router, profile=None):
"\n Removes an external network gateway from the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.remove_gateway_router router-name\n\n :param router: ID or name of router\n :param profile: Profile to build on (Opt... | Removes an external network gateway from the specified router
CLI Example:
.. code-block:: bash
salt '*' neutron.remove_gateway_router router-name
:param router: ID or name of router
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | remove_gateway_router | belvedere-trading/salt | 3 | python | def remove_gateway_router(router, profile=None):
"\n Removes an external network gateway from the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.remove_gateway_router router-name\n\n :param router: ID or name of router\n :param profile: Profile to build on (Opt... | def remove_gateway_router(router, profile=None):
"\n Removes an external network gateway from the specified router\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.remove_gateway_router router-name\n\n :param router: ID or name of router\n :param profile: Profile to build on (Opt... |
cfe8c1ca917adbae12868efd27003c1e034149f145fac3cef2b394de6ead7a6f | def list_floatingips(profile=None):
"\n Fetch a list of all floatingIPs for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_floatingips\n salt '*' neutron.list_floatingips profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List ... | Fetch a list of all floatingIPs for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_floatingips
salt '*' neutron.list_floatingips profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of floatingIP | salt/modules/neutron.py | list_floatingips | belvedere-trading/salt | 3 | python | def list_floatingips(profile=None):
"\n Fetch a list of all floatingIPs for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_floatingips\n salt '*' neutron.list_floatingips profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List ... | def list_floatingips(profile=None):
"\n Fetch a list of all floatingIPs for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_floatingips\n salt '*' neutron.list_floatingips profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :return: List ... |
be9b5c098632d176b5bf1820d1f3d4d30e09b96aed75d883d0e15048a5d250c1 | def show_floatingip(floatingip_id, profile=None):
"\n Fetches information of a certain floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_floatingip floatingip-id\n\n :param floatingip_id: ID of floatingIP to look up\n :param profile: Profile to build on (Optional)\... | Fetches information of a certain floatingIP
CLI Example:
.. code-block:: bash
salt '*' neutron.show_floatingip floatingip-id
:param floatingip_id: ID of floatingIP to look up
:param profile: Profile to build on (Optional)
:return: Floating IP information | salt/modules/neutron.py | show_floatingip | belvedere-trading/salt | 3 | python | def show_floatingip(floatingip_id, profile=None):
"\n Fetches information of a certain floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_floatingip floatingip-id\n\n :param floatingip_id: ID of floatingIP to look up\n :param profile: Profile to build on (Optional)\... | def show_floatingip(floatingip_id, profile=None):
"\n Fetches information of a certain floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_floatingip floatingip-id\n\n :param floatingip_id: ID of floatingIP to look up\n :param profile: Profile to build on (Optional)\... |
0992d36a4b1df1057de4da0e66a218e40e5157891390624c10f0cfcca95c9bf9 | def create_floatingip(floating_network, port=None, profile=None):
"\n Creates a new floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_floatingip network-name port-name\n\n :param floating_network: Network name or ID to allocate floatingIP from\n :param port: Of t... | Creates a new floatingIP
CLI Example:
.. code-block:: bash
salt '*' neutron.create_floatingip network-name port-name
:param floating_network: Network name or ID to allocate floatingIP from
:param port: Of the port to be associated with the floatingIP (Optional)
:param profile: Profile to build on (Optional)
:re... | salt/modules/neutron.py | create_floatingip | belvedere-trading/salt | 3 | python | def create_floatingip(floating_network, port=None, profile=None):
"\n Creates a new floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_floatingip network-name port-name\n\n :param floating_network: Network name or ID to allocate floatingIP from\n :param port: Of t... | def create_floatingip(floating_network, port=None, profile=None):
"\n Creates a new floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_floatingip network-name port-name\n\n :param floating_network: Network name or ID to allocate floatingIP from\n :param port: Of t... |
77fee9a4d6250e00ec8b99349f3fd7b0b79a9678f6d31bcee7c7f0d5dac130ae | def update_floatingip(floatingip_id, port, profile=None):
"\n Updates a floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_floatingip network-name port-name\n\n :param floatingip_id: ID of floatingIP\n :param port: ID or name of port\n :param profile: Profile t... | Updates a floatingIP
CLI Example:
.. code-block:: bash
salt '*' neutron.update_floatingip network-name port-name
:param floatingip_id: ID of floatingIP
:param port: ID or name of port
:param profile: Profile to build on (Optional)
:return: Value of updated floating IP information | salt/modules/neutron.py | update_floatingip | belvedere-trading/salt | 3 | python | def update_floatingip(floatingip_id, port, profile=None):
"\n Updates a floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_floatingip network-name port-name\n\n :param floatingip_id: ID of floatingIP\n :param port: ID or name of port\n :param profile: Profile t... | def update_floatingip(floatingip_id, port, profile=None):
"\n Updates a floatingIP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_floatingip network-name port-name\n\n :param floatingip_id: ID of floatingIP\n :param port: ID or name of port\n :param profile: Profile t... |
b442a043c64687553057ab1700365c3a73e246b4581b04836a02bde25369657d | def delete_floatingip(floatingip_id, profile=None):
"\n Deletes the specified floating IP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_floatingip floatingip-id\n\n :param floatingip_id: ID of floatingIP to delete\n :param profile: Profile to build on (Optional)\n :r... | Deletes the specified floating IP
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_floatingip floatingip-id
:param floatingip_id: ID of floatingIP to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_floatingip | belvedere-trading/salt | 3 | python | def delete_floatingip(floatingip_id, profile=None):
"\n Deletes the specified floating IP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_floatingip floatingip-id\n\n :param floatingip_id: ID of floatingIP to delete\n :param profile: Profile to build on (Optional)\n :r... | def delete_floatingip(floatingip_id, profile=None):
"\n Deletes the specified floating IP\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_floatingip floatingip-id\n\n :param floatingip_id: ID of floatingIP to delete\n :param profile: Profile to build on (Optional)\n :r... |
c45e375c123bb9bc57c1fc6cd2014972b824ab3cfa57280fde12a4ef81baedda | def list_security_groups(profile=None):
"\n Fetches a list of all security groups for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_security_groups\n salt '*' neutron.list_security_groups profile=openstack1\n\n :param profile: Profile to build on (Optional)\n... | Fetches a list of all security groups for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_security_groups
salt '*' neutron.list_security_groups profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of security group | salt/modules/neutron.py | list_security_groups | belvedere-trading/salt | 3 | python | def list_security_groups(profile=None):
"\n Fetches a list of all security groups for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_security_groups\n salt '*' neutron.list_security_groups profile=openstack1\n\n :param profile: Profile to build on (Optional)\n... | def list_security_groups(profile=None):
"\n Fetches a list of all security groups for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_security_groups\n salt '*' neutron.list_security_groups profile=openstack1\n\n :param profile: Profile to build on (Optional)\n... |
7e9f371cca8229d641b7d521615ce23b2c40c0b9b66e8cdfd4d5082c349b1c7d | def show_security_group(security_group, profile=None):
"\n Fetches information of a certain security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group security-group-name\n\n :param security_group: ID or name of security group to look up\n :param profile:... | Fetches information of a certain security group
CLI Example:
.. code-block:: bash
salt '*' neutron.show_security_group security-group-name
:param security_group: ID or name of security group to look up
:param profile: Profile to build on (Optional)
:return: Security group information | salt/modules/neutron.py | show_security_group | belvedere-trading/salt | 3 | python | def show_security_group(security_group, profile=None):
"\n Fetches information of a certain security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group security-group-name\n\n :param security_group: ID or name of security group to look up\n :param profile:... | def show_security_group(security_group, profile=None):
"\n Fetches information of a certain security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group security-group-name\n\n :param security_group: ID or name of security group to look up\n :param profile:... |
527ccecbcebca80c2a137d5a4f83c96e100c7c491a58411ebdafe5c1d4032d71 | def create_security_group(name=None, description=None, profile=None):
"\n Creates a new security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_security_group security-group-name description='Security group for servers'\n\n :param name: Name of securit... | Creates a new security group
CLI Example:
.. code-block:: bash
salt '*' neutron.create_security_group security-group-name description='Security group for servers'
:param name: Name of security group (Optional)
:param description: Description of security group (Optional)
:param profile: Profile t... | salt/modules/neutron.py | create_security_group | belvedere-trading/salt | 3 | python | def create_security_group(name=None, description=None, profile=None):
"\n Creates a new security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_security_group security-group-name description='Security group for servers'\n\n :param name: Name of securit... | def create_security_group(name=None, description=None, profile=None):
"\n Creates a new security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_security_group security-group-name description='Security group for servers'\n\n :param name: Name of securit... |
e801b27f8b367180fd9b2292d1391d4bc2b87bcf57079f7d9a5952655f41af83 | def update_security_group(security_group, name=None, description=None, profile=None):
"\n Updates a security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_security_group security-group-name new-security-group-name\n\n :param security_group: ID or name... | Updates a security group
CLI Example:
.. code-block:: bash
salt '*' neutron.update_security_group security-group-name new-security-group-name
:param security_group: ID or name of security group to update
:param name: Name of this security group (Optional)
:param description: Description of secur... | salt/modules/neutron.py | update_security_group | belvedere-trading/salt | 3 | python | def update_security_group(security_group, name=None, description=None, profile=None):
"\n Updates a security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_security_group security-group-name new-security-group-name\n\n :param security_group: ID or name... | def update_security_group(security_group, name=None, description=None, profile=None):
"\n Updates a security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_security_group security-group-name new-security-group-name\n\n :param security_group: ID or name... |
3c57fed498dc5e244c188ee3a2adcaecbd506a38b7bc4958f061a032651a9b7d | def delete_security_group(security_group, profile=None):
"\n Deletes the specified security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_security_group security-group-name\n\n :param security_group: ID or name of security group to delete\n :param profile: Profile... | Deletes the specified security group
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_security_group security-group-name
:param security_group: ID or name of security group to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_security_group | belvedere-trading/salt | 3 | python | def delete_security_group(security_group, profile=None):
"\n Deletes the specified security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_security_group security-group-name\n\n :param security_group: ID or name of security group to delete\n :param profile: Profile... | def delete_security_group(security_group, profile=None):
"\n Deletes the specified security group\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_security_group security-group-name\n\n :param security_group: ID or name of security group to delete\n :param profile: Profile... |
70641d1f6bddce619d95b546cca307be32e5d3314240f7be04bcc4578aa42a98 | def list_security_group_rules(profile=None):
"\n Fetches a list of all security group rules for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_security_group_rules\n salt '*' neutron.list_security_group_rules profile=openstack1\n\n :param profile: Profile to b... | Fetches a list of all security group rules for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_security_group_rules
salt '*' neutron.list_security_group_rules profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of security group rule | salt/modules/neutron.py | list_security_group_rules | belvedere-trading/salt | 3 | python | def list_security_group_rules(profile=None):
"\n Fetches a list of all security group rules for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_security_group_rules\n salt '*' neutron.list_security_group_rules profile=openstack1\n\n :param profile: Profile to b... | def list_security_group_rules(profile=None):
"\n Fetches a list of all security group rules for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_security_group_rules\n salt '*' neutron.list_security_group_rules profile=openstack1\n\n :param profile: Profile to b... |
24b41a255d6872e59edb6e42ddb9b953f8b4e477b5ce908ef771dc17dcc784bc | def show_security_group_rule(security_group_rule_id, profile=None):
"\n Fetches information of a certain security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group_rule security-group-rule-id\n\n :param security_group_rule_id: ID of security group rule ... | Fetches information of a certain security group rule
CLI Example:
.. code-block:: bash
salt '*' neutron.show_security_group_rule security-group-rule-id
:param security_group_rule_id: ID of security group rule to look up
:param profile: Profile to build on (Optional)
:return: Security group rule information | salt/modules/neutron.py | show_security_group_rule | belvedere-trading/salt | 3 | python | def show_security_group_rule(security_group_rule_id, profile=None):
"\n Fetches information of a certain security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group_rule security-group-rule-id\n\n :param security_group_rule_id: ID of security group rule ... | def show_security_group_rule(security_group_rule_id, profile=None):
"\n Fetches information of a certain security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group_rule security-group-rule-id\n\n :param security_group_rule_id: ID of security group rule ... |
a1c6f1c02cdeee7e92c266e7c1714e205d100b02575a55b1b431529ff86787f1 | def create_security_group_rule(security_group, remote_group_id=None, direction='ingress', protocol=None, port_range_min=None, port_range_max=None, ethertype='IPv4', profile=None):
"\n Creates a new security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group... | Creates a new security group rule
CLI Example:
.. code-block:: bash
salt '*' neutron.show_security_group_rule security-group-rule-id
:param security_group: Security group name or ID to add rule
:param remote_group_id: Remote security group name or ID to
apply rule (Optional)
:param direction: Direction ... | salt/modules/neutron.py | create_security_group_rule | belvedere-trading/salt | 3 | python | def create_security_group_rule(security_group, remote_group_id=None, direction='ingress', protocol=None, port_range_min=None, port_range_max=None, ethertype='IPv4', profile=None):
"\n Creates a new security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group... | def create_security_group_rule(security_group, remote_group_id=None, direction='ingress', protocol=None, port_range_min=None, port_range_max=None, ethertype='IPv4', profile=None):
"\n Creates a new security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_security_group... |
c2564abefa7a7b18e7b2fddad641d6f114be4e0985620e645d3df634ffd33a19 | def delete_security_group_rule(security_group_rule_id, profile=None):
"\n Deletes the specified security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_security_group_rule security-group-rule-id\n\n :param security_group_rule_id: ID of security group rule to dele... | Deletes the specified security group rule
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_security_group_rule security-group-rule-id
:param security_group_rule_id: ID of security group rule to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_security_group_rule | belvedere-trading/salt | 3 | python | def delete_security_group_rule(security_group_rule_id, profile=None):
"\n Deletes the specified security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_security_group_rule security-group-rule-id\n\n :param security_group_rule_id: ID of security group rule to dele... | def delete_security_group_rule(security_group_rule_id, profile=None):
"\n Deletes the specified security group rule\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_security_group_rule security-group-rule-id\n\n :param security_group_rule_id: ID of security group rule to dele... |
8e053aeab661599a9bd2eeba3cf6284e66dd7b5dda72078b7a73b2cf375ef716 | def list_vpnservices(retrive_all=True, profile=None, **kwargs):
"\n Fetches a list of all configured VPN services for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_vpnservices\n\n :param retrive_all: True or False, default: True (Optional)\n :param profile: Profi... | Fetches a list of all configured VPN services for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_vpnservices
:param retrive_all: True or False, default: True (Optional)
:param profile: Profile to build on (Optional)
:return: List of VPN service | salt/modules/neutron.py | list_vpnservices | belvedere-trading/salt | 3 | python | def list_vpnservices(retrive_all=True, profile=None, **kwargs):
"\n Fetches a list of all configured VPN services for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_vpnservices\n\n :param retrive_all: True or False, default: True (Optional)\n :param profile: Profi... | def list_vpnservices(retrive_all=True, profile=None, **kwargs):
"\n Fetches a list of all configured VPN services for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_vpnservices\n\n :param retrive_all: True or False, default: True (Optional)\n :param profile: Profi... |
f70a397666c6ccf07f8ce2422b7992fc09a282723172d5aaec9a8e79c489a8aa | def show_vpnservice(vpnservice, profile=None, **kwargs):
"\n Fetches information of a specific VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_vpnservice vpnservice-name\n\n :param vpnservice: ID or name of vpn service to look up\n :param profile: Profile to bui... | Fetches information of a specific VPN service
CLI Example:
.. code-block:: bash
salt '*' neutron.show_vpnservice vpnservice-name
:param vpnservice: ID or name of vpn service to look up
:param profile: Profile to build on (Optional)
:return: VPN service information | salt/modules/neutron.py | show_vpnservice | belvedere-trading/salt | 3 | python | def show_vpnservice(vpnservice, profile=None, **kwargs):
"\n Fetches information of a specific VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_vpnservice vpnservice-name\n\n :param vpnservice: ID or name of vpn service to look up\n :param profile: Profile to bui... | def show_vpnservice(vpnservice, profile=None, **kwargs):
"\n Fetches information of a specific VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_vpnservice vpnservice-name\n\n :param vpnservice: ID or name of vpn service to look up\n :param profile: Profile to bui... |
de94f558ca944dac56eccab007762947310f8edea042e75926518e1a80c6f6b0 | def create_vpnservice(subnet, router, name, admin_state_up=True, profile=None):
"\n Creates a new VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_vpnservice router-name name\n\n :param subnet: Subnet unique identifier for the VPN service deployment\n :param ro... | Creates a new VPN service
CLI Example:
.. code-block:: bash
salt '*' neutron.create_vpnservice router-name name
:param subnet: Subnet unique identifier for the VPN service deployment
:param router: Router unique identifier for the VPN service
:param name: Set a name for the VPN service
:param admin_state_up: Se... | salt/modules/neutron.py | create_vpnservice | belvedere-trading/salt | 3 | python | def create_vpnservice(subnet, router, name, admin_state_up=True, profile=None):
"\n Creates a new VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_vpnservice router-name name\n\n :param subnet: Subnet unique identifier for the VPN service deployment\n :param ro... | def create_vpnservice(subnet, router, name, admin_state_up=True, profile=None):
"\n Creates a new VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_vpnservice router-name name\n\n :param subnet: Subnet unique identifier for the VPN service deployment\n :param ro... |
1de49cb436583e909c919387f89f860d415370f6dba4a85c784d925d65ac1855 | def update_vpnservice(vpnservice, desc, profile=None):
"\n Updates a VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_vpnservice vpnservice-name desc='VPN Service1'\n\n :param vpnservice: ID or name of vpn service to update\n :param desc: Set a description for ... | Updates a VPN service
CLI Example:
.. code-block:: bash
salt '*' neutron.update_vpnservice vpnservice-name desc='VPN Service1'
:param vpnservice: ID or name of vpn service to update
:param desc: Set a description for the VPN service
:param profile: Profile to build on (Optional)
:return: Value of updated VPN se... | salt/modules/neutron.py | update_vpnservice | belvedere-trading/salt | 3 | python | def update_vpnservice(vpnservice, desc, profile=None):
"\n Updates a VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_vpnservice vpnservice-name desc='VPN Service1'\n\n :param vpnservice: ID or name of vpn service to update\n :param desc: Set a description for ... | def update_vpnservice(vpnservice, desc, profile=None):
"\n Updates a VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.update_vpnservice vpnservice-name desc='VPN Service1'\n\n :param vpnservice: ID or name of vpn service to update\n :param desc: Set a description for ... |
8e572c62e95d6e54442ea4427510a42967c7b0fb446cde000817c29fde23d195 | def delete_vpnservice(vpnservice, profile=None):
"\n Deletes the specified VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_vpnservice vpnservice-name\n\n :param vpnservice: ID or name of vpn service to delete\n :param profile: Profile to build on (Optional)\n ... | Deletes the specified VPN service
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_vpnservice vpnservice-name
:param vpnservice: ID or name of vpn service to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_vpnservice | belvedere-trading/salt | 3 | python | def delete_vpnservice(vpnservice, profile=None):
"\n Deletes the specified VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_vpnservice vpnservice-name\n\n :param vpnservice: ID or name of vpn service to delete\n :param profile: Profile to build on (Optional)\n ... | def delete_vpnservice(vpnservice, profile=None):
"\n Deletes the specified VPN service\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_vpnservice vpnservice-name\n\n :param vpnservice: ID or name of vpn service to delete\n :param profile: Profile to build on (Optional)\n ... |
98d4a2c3c92f36c5459ed6e99a3c97661d42d725597dcc9192b6ce5367bee718 | def list_ipsec_site_connections(profile=None):
"\n Fetches all configured IPsec Site Connections for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ipsec_site_connections\n salt '*' neutron.list_ipsec_site_connections profile=openstack1\n\n :param profile: Pro... | Fetches all configured IPsec Site Connections for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_ipsec_site_connections
salt '*' neutron.list_ipsec_site_connections profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of IPSec site connection | salt/modules/neutron.py | list_ipsec_site_connections | belvedere-trading/salt | 3 | python | def list_ipsec_site_connections(profile=None):
"\n Fetches all configured IPsec Site Connections for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ipsec_site_connections\n salt '*' neutron.list_ipsec_site_connections profile=openstack1\n\n :param profile: Pro... | def list_ipsec_site_connections(profile=None):
"\n Fetches all configured IPsec Site Connections for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ipsec_site_connections\n salt '*' neutron.list_ipsec_site_connections profile=openstack1\n\n :param profile: Pro... |
45f1b18144f5fdf15f47171ab6ebe31dfc61879c4f38c8fbf29d25e96645d2e3 | def show_ipsec_site_connection(ipsec_site_connection, profile=None):
"\n Fetches information of a specific IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsec_site_connection connection-name\n\n :param ipsec_site_connection: ID or name of ipsec site conne... | Fetches information of a specific IPsecSiteConnection
CLI Example:
.. code-block:: bash
salt '*' neutron.show_ipsec_site_connection connection-name
:param ipsec_site_connection: ID or name of ipsec site connection
to look up
:param profile: Profile to build on (Optional)
:return: IPSec site connection i... | salt/modules/neutron.py | show_ipsec_site_connection | belvedere-trading/salt | 3 | python | def show_ipsec_site_connection(ipsec_site_connection, profile=None):
"\n Fetches information of a specific IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsec_site_connection connection-name\n\n :param ipsec_site_connection: ID or name of ipsec site conne... | def show_ipsec_site_connection(ipsec_site_connection, profile=None):
"\n Fetches information of a specific IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsec_site_connection connection-name\n\n :param ipsec_site_connection: ID or name of ipsec site conne... |
fd0417b02d0eb96b345396d00e62158a1b114e3c5fe1bde63d00e981b21fe51f | def create_ipsec_site_connection(name, ipsecpolicy, ikepolicy, vpnservice, peer_cidrs, peer_address, peer_id, psk, admin_state_up=True, profile=None, **kwargs):
"\n Creates a new IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsec_site_connection connection-... | Creates a new IPsecSiteConnection
CLI Example:
.. code-block:: bash
salt '*' neutron.show_ipsec_site_connection connection-name
ipsec-policy-name ikepolicy-name vpnservice-name
192.168.XXX.XXX/24 192.168.XXX.XXX 192.168.XXX.XXX secret
:param name: Set friendly name for the connection
:pa... | salt/modules/neutron.py | create_ipsec_site_connection | belvedere-trading/salt | 3 | python | def create_ipsec_site_connection(name, ipsecpolicy, ikepolicy, vpnservice, peer_cidrs, peer_address, peer_id, psk, admin_state_up=True, profile=None, **kwargs):
"\n Creates a new IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsec_site_connection connection-... | def create_ipsec_site_connection(name, ipsecpolicy, ikepolicy, vpnservice, peer_cidrs, peer_address, peer_id, psk, admin_state_up=True, profile=None, **kwargs):
"\n Creates a new IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsec_site_connection connection-... |
603e9eeea40fa9f9d0e593fc5c43f900e8264f67f275f9de5c2694160b5d68c0 | def delete_ipsec_site_connection(ipsec_site_connection, profile=None):
"\n Deletes the specified IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ipsec_site_connection connection-name\n\n :param ipsec_site_connection: ID or name of ipsec site connection to... | Deletes the specified IPsecSiteConnection
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_ipsec_site_connection connection-name
:param ipsec_site_connection: ID or name of ipsec site connection to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_ipsec_site_connection | belvedere-trading/salt | 3 | python | def delete_ipsec_site_connection(ipsec_site_connection, profile=None):
"\n Deletes the specified IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ipsec_site_connection connection-name\n\n :param ipsec_site_connection: ID or name of ipsec site connection to... | def delete_ipsec_site_connection(ipsec_site_connection, profile=None):
"\n Deletes the specified IPsecSiteConnection\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ipsec_site_connection connection-name\n\n :param ipsec_site_connection: ID or name of ipsec site connection to... |
34d44bc952053a85eda948c184cc8a9c6bd17c6866fd29abc0fe6c68428a0480 | def list_ikepolicies(profile=None):
"\n Fetches a list of all configured IKEPolicies for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ikepolicies\n salt '*' neutron.list_ikepolicies profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :... | Fetches a list of all configured IKEPolicies for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_ikepolicies
salt '*' neutron.list_ikepolicies profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of IKE policy | salt/modules/neutron.py | list_ikepolicies | belvedere-trading/salt | 3 | python | def list_ikepolicies(profile=None):
"\n Fetches a list of all configured IKEPolicies for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ikepolicies\n salt '*' neutron.list_ikepolicies profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :... | def list_ikepolicies(profile=None):
"\n Fetches a list of all configured IKEPolicies for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ikepolicies\n salt '*' neutron.list_ikepolicies profile=openstack1\n\n :param profile: Profile to build on (Optional)\n :... |
2d76dacf0d5826d1300f3a3da4aed3cd147a6eea27a94b014c6f75ec2b330aba | def show_ikepolicy(ikepolicy, profile=None):
"\n Fetches information of a specific IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ikepolicy ikepolicy-name\n\n :param ikepolicy: ID or name of ikepolicy to look up\n :param profile: Profile to build on (Optional)\n ... | Fetches information of a specific IKEPolicy
CLI Example:
.. code-block:: bash
salt '*' neutron.show_ikepolicy ikepolicy-name
:param ikepolicy: ID or name of ikepolicy to look up
:param profile: Profile to build on (Optional)
:return: IKE policy information | salt/modules/neutron.py | show_ikepolicy | belvedere-trading/salt | 3 | python | def show_ikepolicy(ikepolicy, profile=None):
"\n Fetches information of a specific IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ikepolicy ikepolicy-name\n\n :param ikepolicy: ID or name of ikepolicy to look up\n :param profile: Profile to build on (Optional)\n ... | def show_ikepolicy(ikepolicy, profile=None):
"\n Fetches information of a specific IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ikepolicy ikepolicy-name\n\n :param ikepolicy: ID or name of ikepolicy to look up\n :param profile: Profile to build on (Optional)\n ... |
1af8fa34748a31175f54054cde24f4176c54a5e61811524bd99a698ddf2dc7be | def create_ikepolicy(name, profile=None, **kwargs):
"\n Creates a new IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_ikepolicy ikepolicy-name\n phase1_negotiation_mode=main auth_algorithm=sha1\n encryption_algorithm=aes-128 pfs=group5\n\... | Creates a new IKEPolicy
CLI Example:
.. code-block:: bash
salt '*' neutron.create_ikepolicy ikepolicy-name
phase1_negotiation_mode=main auth_algorithm=sha1
encryption_algorithm=aes-128 pfs=group5
:param name: Name of the IKE policy
:param phase1_negotiation_mode: IKE Phase1 negotiation m... | salt/modules/neutron.py | create_ikepolicy | belvedere-trading/salt | 3 | python | def create_ikepolicy(name, profile=None, **kwargs):
"\n Creates a new IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_ikepolicy ikepolicy-name\n phase1_negotiation_mode=main auth_algorithm=sha1\n encryption_algorithm=aes-128 pfs=group5\n\... | def create_ikepolicy(name, profile=None, **kwargs):
"\n Creates a new IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_ikepolicy ikepolicy-name\n phase1_negotiation_mode=main auth_algorithm=sha1\n encryption_algorithm=aes-128 pfs=group5\n\... |
18d0c7f888baa2744b26a6c8c87b2eec42b836a6b98c66a82f465bd752e54438 | def delete_ikepolicy(ikepolicy, profile=None):
"\n Deletes the specified IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ikepolicy ikepolicy-name\n\n :param ikepolicy: ID or name of IKE policy to delete\n :param profile: Profile to build on (Optional)\n :retu... | Deletes the specified IKEPolicy
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_ikepolicy ikepolicy-name
:param ikepolicy: ID or name of IKE policy to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_ikepolicy | belvedere-trading/salt | 3 | python | def delete_ikepolicy(ikepolicy, profile=None):
"\n Deletes the specified IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ikepolicy ikepolicy-name\n\n :param ikepolicy: ID or name of IKE policy to delete\n :param profile: Profile to build on (Optional)\n :retu... | def delete_ikepolicy(ikepolicy, profile=None):
"\n Deletes the specified IKEPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ikepolicy ikepolicy-name\n\n :param ikepolicy: ID or name of IKE policy to delete\n :param profile: Profile to build on (Optional)\n :retu... |
663d006f75bef0e3cdf860d2eaf6a4aa3b3a23451925163cea7354778551c808 | def list_ipsecpolicies(profile=None):
"\n Fetches a list of all configured IPsecPolicies for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ipsecpolicies ipsecpolicy-name\n salt '*' neutron.list_ipsecpolicies ipsecpolicy-name profile=openstack1\n\n :param prof... | Fetches a list of all configured IPsecPolicies for a tenant
CLI Example:
.. code-block:: bash
salt '*' neutron.list_ipsecpolicies ipsecpolicy-name
salt '*' neutron.list_ipsecpolicies ipsecpolicy-name profile=openstack1
:param profile: Profile to build on (Optional)
:return: List of IPSec policy | salt/modules/neutron.py | list_ipsecpolicies | belvedere-trading/salt | 3 | python | def list_ipsecpolicies(profile=None):
"\n Fetches a list of all configured IPsecPolicies for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ipsecpolicies ipsecpolicy-name\n salt '*' neutron.list_ipsecpolicies ipsecpolicy-name profile=openstack1\n\n :param prof... | def list_ipsecpolicies(profile=None):
"\n Fetches a list of all configured IPsecPolicies for a tenant\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.list_ipsecpolicies ipsecpolicy-name\n salt '*' neutron.list_ipsecpolicies ipsecpolicy-name profile=openstack1\n\n :param prof... |
7a7c7c4edbe5b9cf095eb4a43135e9203fa8960e2f92824baadda7b0c6848e0d | def show_ipsecpolicy(ipsecpolicy, profile=None):
"\n Fetches information of a specific IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsecpolicy ipsecpolicy-name\n\n :param ipsecpolicy: ID or name of IPSec policy to look up\n :param profile: Profile to build o... | Fetches information of a specific IPsecPolicy
CLI Example:
.. code-block:: bash
salt '*' neutron.show_ipsecpolicy ipsecpolicy-name
:param ipsecpolicy: ID or name of IPSec policy to look up
:param profile: Profile to build on (Optional)
:return: IPSec policy information | salt/modules/neutron.py | show_ipsecpolicy | belvedere-trading/salt | 3 | python | def show_ipsecpolicy(ipsecpolicy, profile=None):
"\n Fetches information of a specific IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsecpolicy ipsecpolicy-name\n\n :param ipsecpolicy: ID or name of IPSec policy to look up\n :param profile: Profile to build o... | def show_ipsecpolicy(ipsecpolicy, profile=None):
"\n Fetches information of a specific IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.show_ipsecpolicy ipsecpolicy-name\n\n :param ipsecpolicy: ID or name of IPSec policy to look up\n :param profile: Profile to build o... |
d5ecd1af4e62a3e75fb2c4b3cc4dec901c59cb678dc525ff81bb6e9d34524211 | def create_ipsecpolicy(name, profile=None, **kwargs):
"\n Creates a new IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_ipsecpolicy ipsecpolicy-name\n transform_protocol=esp auth_algorithm=sha1\n encapsulation_mode=tunnel encryption_alg... | Creates a new IPsecPolicy
CLI Example:
.. code-block:: bash
salt '*' neutron.create_ipsecpolicy ipsecpolicy-name
transform_protocol=esp auth_algorithm=sha1
encapsulation_mode=tunnel encryption_algorithm=aes-128
:param name: Name of the IPSec policy
:param transform_protocol: Transform pr... | salt/modules/neutron.py | create_ipsecpolicy | belvedere-trading/salt | 3 | python | def create_ipsecpolicy(name, profile=None, **kwargs):
"\n Creates a new IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_ipsecpolicy ipsecpolicy-name\n transform_protocol=esp auth_algorithm=sha1\n encapsulation_mode=tunnel encryption_alg... | def create_ipsecpolicy(name, profile=None, **kwargs):
"\n Creates a new IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.create_ipsecpolicy ipsecpolicy-name\n transform_protocol=esp auth_algorithm=sha1\n encapsulation_mode=tunnel encryption_alg... |
a4aa710a4c3418245ea2713af807c2a7f6d7bb575180142f14857aff6cdc9273 | def delete_ipsecpolicy(ipsecpolicy, profile=None):
"\n Deletes the specified IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ipsecpolicy ipsecpolicy-name\n\n :param ipsecpolicy: ID or name of IPSec policy to delete\n :param profile: Profile to build on (Option... | Deletes the specified IPsecPolicy
CLI Example:
.. code-block:: bash
salt '*' neutron.delete_ipsecpolicy ipsecpolicy-name
:param ipsecpolicy: ID or name of IPSec policy to delete
:param profile: Profile to build on (Optional)
:return: True(Succeed) or False | salt/modules/neutron.py | delete_ipsecpolicy | belvedere-trading/salt | 3 | python | def delete_ipsecpolicy(ipsecpolicy, profile=None):
"\n Deletes the specified IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ipsecpolicy ipsecpolicy-name\n\n :param ipsecpolicy: ID or name of IPSec policy to delete\n :param profile: Profile to build on (Option... | def delete_ipsecpolicy(ipsecpolicy, profile=None):
"\n Deletes the specified IPsecPolicy\n\n CLI Example:\n\n .. code-block:: bash\n\n salt '*' neutron.delete_ipsecpolicy ipsecpolicy-name\n\n :param ipsecpolicy: ID or name of IPSec policy to delete\n :param profile: Profile to build on (Option... |
27afd38bab3e4db8e4b9ef734b924c376c5b92c40e8699b1376cb0ed80e47e31 | def mesh_oriented_bounding_box_numpy(mesh):
'Compute the (axis aligned) bounding box of a mesh.\n\n Parameters\n ----------\n mesh : compas.datastructures.Mesh\n The mesh data structure.\n\n Returns\n -------\n list\n The bounding box of the mesh as a list of corner vertex coordinate... | Compute the (axis aligned) bounding box of a mesh.
Parameters
----------
mesh : compas.datastructures.Mesh
The mesh data structure.
Returns
-------
list
The bounding box of the mesh as a list of corner vertex coordinates.
Examples
--------
>>> box = mesh_oriented_bounding_box_numpy(hypar)
>>> len(box)
8 | src/compas/datastructures/mesh/bbox_numpy.py | mesh_oriented_bounding_box_numpy | wenqian157/compas | 2 | python | def mesh_oriented_bounding_box_numpy(mesh):
'Compute the (axis aligned) bounding box of a mesh.\n\n Parameters\n ----------\n mesh : compas.datastructures.Mesh\n The mesh data structure.\n\n Returns\n -------\n list\n The bounding box of the mesh as a list of corner vertex coordinate... | def mesh_oriented_bounding_box_numpy(mesh):
'Compute the (axis aligned) bounding box of a mesh.\n\n Parameters\n ----------\n mesh : compas.datastructures.Mesh\n The mesh data structure.\n\n Returns\n -------\n list\n The bounding box of the mesh as a list of corner vertex coordinate... |
54047fb75e6c4f2c28322e7e19028d5ffc0e8fff6be87b8fb5873a3e8cdfa1eb | def mesh_oriented_bounding_box_xy_numpy(mesh):
'Compute the (axis aligned) bounding box of a projection of the mesh in the XY plane.\n\n Parameters\n ----------\n mesh : compas.datastructures.Mesh\n The mesh data structure.\n\n Returns\n -------\n box_xy\n The bounding box.\n\n Ex... | Compute the (axis aligned) bounding box of a projection of the mesh in the XY plane.
Parameters
----------
mesh : compas.datastructures.Mesh
The mesh data structure.
Returns
-------
box_xy
The bounding box.
Examples
--------
>>> mesh_oriented_bounding_box_xy_numpy(mesh)
[[10.0, 0.0], [0.0, 0.0], [0.0, 10.0],... | src/compas/datastructures/mesh/bbox_numpy.py | mesh_oriented_bounding_box_xy_numpy | wenqian157/compas | 2 | python | def mesh_oriented_bounding_box_xy_numpy(mesh):
'Compute the (axis aligned) bounding box of a projection of the mesh in the XY plane.\n\n Parameters\n ----------\n mesh : compas.datastructures.Mesh\n The mesh data structure.\n\n Returns\n -------\n box_xy\n The bounding box.\n\n Ex... | def mesh_oriented_bounding_box_xy_numpy(mesh):
'Compute the (axis aligned) bounding box of a projection of the mesh in the XY plane.\n\n Parameters\n ----------\n mesh : compas.datastructures.Mesh\n The mesh data structure.\n\n Returns\n -------\n box_xy\n The bounding box.\n\n Ex... |
399c83c2b6a36250e510f7fe7232bc550f93170feedbe7780bdb1877709908c8 | def pretty_relpath(path, start):
'\n Returns a relative path, but only if it doesn\'t start with a non-pretty parent directory ".."\n '
relpath = os.path.relpath(path, start)
if relpath.startswith('..'):
return path
return relpath | Returns a relative path, but only if it doesn't start with a non-pretty parent directory ".." | django_mako_plus/management/commands/dmp_cleanup.py | pretty_relpath | fintanMcor/django-mako-plus | 0 | python | def pretty_relpath(path, start):
'\n Returns a relative path, but only if it doesn\'t start with a non-pretty parent directory ".."\n '
relpath = os.path.relpath(path, start)
if relpath.startswith('..'):
return path
return relpath | def pretty_relpath(path, start):
'\n Returns a relative path, but only if it doesn\'t start with a non-pretty parent directory ".."\n '
relpath = os.path.relpath(path, start)
if relpath.startswith('..'):
return path
return relpath<|docstring|>Returns a relative path, but only if it doesn't... |
92773d29c7b5b2978c3b898d839c6dee77f3fc6b5905a1b318d4dc9aabe58a2f | def message(self, msg, level):
'Print a message to the console'
if (self.options['verbosity'] >= level):
print(msg) | Print a message to the console | django_mako_plus/management/commands/dmp_cleanup.py | message | fintanMcor/django-mako-plus | 0 | python | def message(self, msg, level):
if (self.options['verbosity'] >= level):
print(msg) | def message(self, msg, level):
if (self.options['verbosity'] >= level):
print(msg)<|docstring|>Print a message to the console<|endoftext|> |
079c9eb36198c30c39776147238046926861f8c8184321f961b0da9c085901ce | def gencode(self, unit: symbols.Program, context):
' Generate code for a single unit '
assert isinstance(unit, symbols.Program)
self.context = context
self.builder.prepare()
self.var_map = {}
self.logger.info('Generating ir-code for %s', unit.name)
self.builder.module = ir.Module(unit.name, ... | Generate code for a single unit | ppci/lang/pascal/codegenerator.py | gencode | kl4w3i/ppci | 161 | python | def gencode(self, unit: symbols.Program, context):
' '
assert isinstance(unit, symbols.Program)
self.context = context
self.builder.prepare()
self.var_map = {}
self.logger.info('Generating ir-code for %s', unit.name)
self.builder.module = ir.Module(unit.name, debug_db=self.debug_db)
sel... | def gencode(self, unit: symbols.Program, context):
' '
assert isinstance(unit, symbols.Program)
self.context = context
self.builder.prepare()
self.var_map = {}
self.logger.info('Generating ir-code for %s', unit.name)
self.builder.module = ir.Module(unit.name, debug_db=self.debug_db)
sel... |
b196e437260cfdce2c9cdfb24d2db9977a9c621d983b51d8b63f1da4e8afe66a | def gen_main(self, unit):
' Generate code for global main script. '
function_name = ((unit.name + '_') + 'main')
ir_function = self.builder.new_procedure(function_name, ir.Binding.GLOBAL)
dbg_return_type = self.get_debug_type(None)
dfi = debuginfo.DebugFunction(function_name, unit.location, dbg_retu... | Generate code for global main script. | ppci/lang/pascal/codegenerator.py | gen_main | kl4w3i/ppci | 161 | python | def gen_main(self, unit):
' '
function_name = ((unit.name + '_') + 'main')
ir_function = self.builder.new_procedure(function_name, ir.Binding.GLOBAL)
dbg_return_type = self.get_debug_type(None)
dfi = debuginfo.DebugFunction(function_name, unit.location, dbg_return_type, [])
self.debug_db.enter(... | def gen_main(self, unit):
' '
function_name = ((unit.name + '_') + 'main')
ir_function = self.builder.new_procedure(function_name, ir.Binding.GLOBAL)
dbg_return_type = self.get_debug_type(None)
dfi = debuginfo.DebugFunction(function_name, unit.location, dbg_return_type, [])
self.debug_db.enter(... |
69f19342daa2a57f881e0b2ab078fa8a1e3ee8b7817e850888d19270c4e2e4a5 | def _define_builtins(self):
'Create external symbols for the various runtime functions.'
self._add_external_procedure('io_print', [ir.ptr])
self._add_external_procedure('write_int', [self.get_ir_int(), self.get_ir_int(), self.get_ir_int()])
bsp_putc = ir.ExternalProcedure('bsp_putc', [ir.u8])
self.b... | Create external symbols for the various runtime functions. | ppci/lang/pascal/codegenerator.py | _define_builtins | kl4w3i/ppci | 161 | python | def _define_builtins(self):
self._add_external_procedure('io_print', [ir.ptr])
self._add_external_procedure('write_int', [self.get_ir_int(), self.get_ir_int(), self.get_ir_int()])
bsp_putc = ir.ExternalProcedure('bsp_putc', [ir.u8])
self.builder.module.add_external(bsp_putc)
self.var_map['io_pr... | def _define_builtins(self):
self._add_external_procedure('io_print', [ir.ptr])
self._add_external_procedure('write_int', [self.get_ir_int(), self.get_ir_int(), self.get_ir_int()])
bsp_putc = ir.ExternalProcedure('bsp_putc', [ir.u8])
self.builder.module.add_external(bsp_putc)
self.var_map['io_pr... |
259364ca92792b214243863ccaac1dbca43f9c29784931d9288f807b7e342dfb | def gen_globals(self, unit):
' Generate global variables and modules '
for var in unit.inner_scope.variables:
assert (not var.isLocal)
if var.ival:
cval = self.gen_global_ival(var.ival, var.typ)
cval = (cval,)
else:
cval = None
size = self.cont... | Generate global variables and modules | ppci/lang/pascal/codegenerator.py | gen_globals | kl4w3i/ppci | 161 | python | def gen_globals(self, unit):
' '
for var in unit.inner_scope.variables:
assert (not var.isLocal)
if var.ival:
cval = self.gen_global_ival(var.ival, var.typ)
cval = (cval,)
else:
cval = None
size = self.context.size_of(var.typ)
alignmen... | def gen_globals(self, unit):
' '
for var in unit.inner_scope.variables:
assert (not var.isLocal)
if var.ival:
cval = self.gen_global_ival(var.ival, var.typ)
cval = (cval,)
else:
cval = None
size = self.context.size_of(var.typ)
alignmen... |
3677c8401d8ea67d7ce99445a3db4600df1005bb1e94cbd985e53f47de9a17e3 | def gen_global_ival(self, ival, typ):
' Create memory image for initial value '
typ = self.context.get_type(typ)
if isinstance(typ, types.ArrayType):
assert isinstance(ival, expressions.ExpressionList)
assert (len(ival.expressions) == self.context.eval_const(typ.size))
mem = bytes()
... | Create memory image for initial value | ppci/lang/pascal/codegenerator.py | gen_global_ival | kl4w3i/ppci | 161 | python | def gen_global_ival(self, ival, typ):
' '
typ = self.context.get_type(typ)
if isinstance(typ, types.ArrayType):
assert isinstance(ival, expressions.ExpressionList)
assert (len(ival.expressions) == self.context.eval_const(typ.size))
mem = bytes()
for expr in ival.expressions:... | def gen_global_ival(self, ival, typ):
' '
typ = self.context.get_type(typ)
if isinstance(typ, types.ArrayType):
assert isinstance(ival, expressions.ExpressionList)
assert (len(ival.expressions) == self.context.eval_const(typ.size))
mem = bytes()
for expr in ival.expressions:... |
1fb6ddec710ef5013f3a76d0744784d77ca87b6770cfda8a83c6b3c81e2dde79 | def emit(self, instruction):
'\n Emits the given instruction to the builder.\n Can be muted for constants.\n '
return self.builder.emit(instruction) | Emits the given instruction to the builder.
Can be muted for constants. | ppci/lang/pascal/codegenerator.py | emit | kl4w3i/ppci | 161 | python | def emit(self, instruction):
'\n Emits the given instruction to the builder.\n Can be muted for constants.\n '
return self.builder.emit(instruction) | def emit(self, instruction):
'\n Emits the given instruction to the builder.\n Can be muted for constants.\n '
return self.builder.emit(instruction)<|docstring|>Emits the given instruction to the builder.
Can be muted for constants.<|endoftext|> |
9f1ec165e9ac77cf56a0de6c0442a673308c9b84eea89e335fe9de10c4d5f4c4 | def get_debug_type(self, typ):
' Get or create debug type info in the debug information '
if (typ is not None):
typ = self.context.get_type(typ)
if self.debug_db.contains(typ):
return self.debug_db.get(typ)
if isinstance(typ, types.BaseType):
size = self.context.size_of(typ)
... | Get or create debug type info in the debug information | ppci/lang/pascal/codegenerator.py | get_debug_type | kl4w3i/ppci | 161 | python | def get_debug_type(self, typ):
' '
if (typ is not None):
typ = self.context.get_type(typ)
if self.debug_db.contains(typ):
return self.debug_db.get(typ)
if isinstance(typ, types.BaseType):
size = self.context.size_of(typ)
if (size == 8):
typ_name = 'int'
... | def get_debug_type(self, typ):
' '
if (typ is not None):
typ = self.context.get_type(typ)
if self.debug_db.contains(typ):
return self.debug_db.get(typ)
if isinstance(typ, types.BaseType):
size = self.context.size_of(typ)
if (size == 8):
typ_name = 'int'
... |
77244dfb4d496e9161f61974adb3d9fa51db3cdb456822bd3851a1e40d29a65b | def error(self, msg, loc=None):
' Emit error to diagnostic system and mark package as invalid '
self.diag.error(msg, loc) | Emit error to diagnostic system and mark package as invalid | ppci/lang/pascal/codegenerator.py | error | kl4w3i/ppci | 161 | python | def error(self, msg, loc=None):
' '
self.diag.error(msg, loc) | def error(self, msg, loc=None):
' '
self.diag.error(msg, loc)<|docstring|>Emit error to diagnostic system and mark package as invalid<|endoftext|> |
59c04feb501d546e8b6819ef5ad0d059d647416a95c5df087935a67b3a1f833b | def gen_functions(self, unit):
' Generate code for subroutines. '
subroutines = unit.functions
for subroutine in subroutines:
self.create_subroutine(subroutine)
for (nr, subroutine) in enumerate(subroutines, 1):
self.logger.debug('Generating IR-code for {} ({}/{})'.format(subroutine.name... | Generate code for subroutines. | ppci/lang/pascal/codegenerator.py | gen_functions | kl4w3i/ppci | 161 | python | def gen_functions(self, unit):
' '
subroutines = unit.functions
for subroutine in subroutines:
self.create_subroutine(subroutine)
for (nr, subroutine) in enumerate(subroutines, 1):
self.logger.debug('Generating IR-code for {} ({}/{})'.format(subroutine.name, nr, len(subroutines)))
... | def gen_functions(self, unit):
' '
subroutines = unit.functions
for subroutine in subroutines:
self.create_subroutine(subroutine)
for (nr, subroutine) in enumerate(subroutines, 1):
self.logger.debug('Generating IR-code for {} ({}/{})'.format(subroutine.name, nr, len(subroutines)))
... |
7358f2961489dfe78d85292c11c0c91bdfddba25fad7dcad463259aa82559f06 | def gen_subroutine(self, subroutine):
'Generate code for a subroutine.\n\n This involves creating room\n for parameters on the stack, and generating code for the function\n body.\n '
ir_function = self.var_map[subroutine]
for sym in subroutine.inner_scope:
if sym.is_subro... | Generate code for a subroutine.
This involves creating room
for parameters on the stack, and generating code for the function
body. | ppci/lang/pascal/codegenerator.py | gen_subroutine | kl4w3i/ppci | 161 | python | def gen_subroutine(self, subroutine):
'Generate code for a subroutine.\n\n This involves creating room\n for parameters on the stack, and generating code for the function\n body.\n '
ir_function = self.var_map[subroutine]
for sym in subroutine.inner_scope:
if sym.is_subro... | def gen_subroutine(self, subroutine):
'Generate code for a subroutine.\n\n This involves creating room\n for parameters on the stack, and generating code for the function\n body.\n '
ir_function = self.var_map[subroutine]
for sym in subroutine.inner_scope:
if sym.is_subro... |
957ffbb4ee18d3f292d9102d617ceb7fae1f05a3457a3bdce3456897129413cb | def emit_local(self, var_name, typ):
' Emit stack allocated variable. '
variable = ir.Alloc(var_name, self.context.size_of(typ), 1)
self.emit(variable)
variable = self.emit(ir.AddressOf(variable, var_name))
return variable | Emit stack allocated variable. | ppci/lang/pascal/codegenerator.py | emit_local | kl4w3i/ppci | 161 | python | def emit_local(self, var_name, typ):
' '
variable = ir.Alloc(var_name, self.context.size_of(typ), 1)
self.emit(variable)
variable = self.emit(ir.AddressOf(variable, var_name))
return variable | def emit_local(self, var_name, typ):
' '
variable = ir.Alloc(var_name, self.context.size_of(typ), 1)
self.emit(variable)
variable = self.emit(ir.AddressOf(variable, var_name))
return variable<|docstring|>Emit stack allocated variable.<|endoftext|> |
6452834b3cc470fcabd2c4d74858e98c91d4a4757ec5fe3cbb9bf440e12faed2 | def get_ir_type(self, cty):
' Given a certain type, get the corresponding ir-type '
cty = self.context.get_type(cty)
if isinstance(cty, types.FloatType):
float_types = {32: ir.f32, 64: ir.f64}
ty = float_types[cty.bits]
elif isinstance(cty, types.SignedIntegerType):
signed_types ... | Given a certain type, get the corresponding ir-type | ppci/lang/pascal/codegenerator.py | get_ir_type | kl4w3i/ppci | 161 | python | def get_ir_type(self, cty):
' '
cty = self.context.get_type(cty)
if isinstance(cty, types.FloatType):
float_types = {32: ir.f32, 64: ir.f64}
ty = float_types[cty.bits]
elif isinstance(cty, types.SignedIntegerType):
signed_types = {8: ir.i8, 16: ir.i16, 32: ir.i32, 64: ir.i64}
... | def get_ir_type(self, cty):
' '
cty = self.context.get_type(cty)
if isinstance(cty, types.FloatType):
float_types = {32: ir.f32, 64: ir.f64}
ty = float_types[cty.bits]
elif isinstance(cty, types.SignedIntegerType):
signed_types = {8: ir.i8, 16: ir.i16, 32: ir.i32, 64: ir.i64}
... |
919ad0f400b34b1cf1533499b7f0d812f3cb184bbbb0a12cf828a7e0b2ba538c | def gen_stmt(self, code: statements.Statement):
' Generate code for a statement '
assert isinstance(code, statements.Statement)
with self.builder.use_location(code.location):
if isinstance(code, statements.Compound):
for statement in code.statements:
self.gen_stmt(stateme... | Generate code for a statement | ppci/lang/pascal/codegenerator.py | gen_stmt | kl4w3i/ppci | 161 | python | def gen_stmt(self, code: statements.Statement):
' '
assert isinstance(code, statements.Statement)
with self.builder.use_location(code.location):
if isinstance(code, statements.Compound):
for statement in code.statements:
self.gen_stmt(statement)
elif isinstance(c... | def gen_stmt(self, code: statements.Statement):
' '
assert isinstance(code, statements.Statement)
with self.builder.use_location(code.location):
if isinstance(code, statements.Compound):
for statement in code.statements:
self.gen_stmt(statement)
elif isinstance(c... |
a173b96d1408628b18e181029a3f74b1ff517113946f6136bc5abc42ec6dbeaa | def gen_return_stmt(self, code):
' Generate code for return statement '
ret_val = self.gen_expr_code(code.expr, rvalue=True)
self.emit(ir.Return(ret_val))
self.builder.set_block(self.new_block()) | Generate code for return statement | ppci/lang/pascal/codegenerator.py | gen_return_stmt | kl4w3i/ppci | 161 | python | def gen_return_stmt(self, code):
' '
ret_val = self.gen_expr_code(code.expr, rvalue=True)
self.emit(ir.Return(ret_val))
self.builder.set_block(self.new_block()) | def gen_return_stmt(self, code):
' '
ret_val = self.gen_expr_code(code.expr, rvalue=True)
self.emit(ir.Return(ret_val))
self.builder.set_block(self.new_block())<|docstring|>Generate code for return statement<|endoftext|> |
585e4a5a943fb84a8b40a268ab3e96a873742a098be00c232b4e9bcdf3711425 | def gen_exit_stmt(self, code):
' Generate code for exit statement '
self.emit(ir.Exit())
self.builder.set_block(self.new_block()) | Generate code for exit statement | ppci/lang/pascal/codegenerator.py | gen_exit_stmt | kl4w3i/ppci | 161 | python | def gen_exit_stmt(self, code):
' '
self.emit(ir.Exit())
self.builder.set_block(self.new_block()) | def gen_exit_stmt(self, code):
' '
self.emit(ir.Exit())
self.builder.set_block(self.new_block())<|docstring|>Generate code for exit statement<|endoftext|> |
4103f53b054c8f58f4824fae1cda3611837fdc741a7c8fa79b4e9bb43bb8c61c | def gen_assignment_stmt(self, code):
' Generate code for assignment statement '
rval = self.gen_expr_code(code.rval, rvalue=True)
self.gen_store(code.lval, rval) | Generate code for assignment statement | ppci/lang/pascal/codegenerator.py | gen_assignment_stmt | kl4w3i/ppci | 161 | python | def gen_assignment_stmt(self, code):
' '
rval = self.gen_expr_code(code.rval, rvalue=True)
self.gen_store(code.lval, rval) | def gen_assignment_stmt(self, code):
' '
rval = self.gen_expr_code(code.rval, rvalue=True)
self.gen_store(code.lval, rval)<|docstring|>Generate code for assignment statement<|endoftext|> |
66a4287ee54e9f93588a279d8c670a34e105c918b2d5e37733979d692f9b1ff0 | def gen_local_var_init(self, var):
' Initialize a local variable '
if (var.ival is None):
return
alloc = self.var_map[var]
self.gen_expr_at(alloc, var.ival) | Initialize a local variable | ppci/lang/pascal/codegenerator.py | gen_local_var_init | kl4w3i/ppci | 161 | python | def gen_local_var_init(self, var):
' '
if (var.ival is None):
return
alloc = self.var_map[var]
self.gen_expr_at(alloc, var.ival) | def gen_local_var_init(self, var):
' '
if (var.ival is None):
return
alloc = self.var_map[var]
self.gen_expr_at(alloc, var.ival)<|docstring|>Initialize a local variable<|endoftext|> |
84204cd96d9361a9f73a0c0c7336ced66ff60f1ea17452aa93c8488e1170b149 | def gen_expr_at(self, ptr, expr):
' Generate code at a pointer in memory '
if isinstance(expr, expressions.ExpressionList):
for e in expr.expressions:
ptr = self.gen_expr_at(ptr, e)
return ptr
elif isinstance(expr, expressions.NamedExpressionList):
for (_, e) in expr.expr... | Generate code at a pointer in memory | ppci/lang/pascal/codegenerator.py | gen_expr_at | kl4w3i/ppci | 161 | python | def gen_expr_at(self, ptr, expr):
' '
if isinstance(expr, expressions.ExpressionList):
for e in expr.expressions:
ptr = self.gen_expr_at(ptr, e)
return ptr
elif isinstance(expr, expressions.NamedExpressionList):
for (_, e) in expr.expressions:
ptr = self.gen_... | def gen_expr_at(self, ptr, expr):
' '
if isinstance(expr, expressions.ExpressionList):
for e in expr.expressions:
ptr = self.gen_expr_at(ptr, e)
return ptr
elif isinstance(expr, expressions.NamedExpressionList):
for (_, e) in expr.expressions:
ptr = self.gen_... |
7c5ff3b91be993944e677642437447cd8d25df98242446198c9b1e2b8007c3b6 | def gen_if_stmt(self, code):
' Generate code for if statement '
true_block = self.new_block()
false_block = self.new_block()
final_block = self.new_block()
self.gen_cond_code(code.condition, true_block, false_block)
self.builder.set_block(true_block)
self.gen_stmt(code.truestatement)
sel... | Generate code for if statement | ppci/lang/pascal/codegenerator.py | gen_if_stmt | kl4w3i/ppci | 161 | python | def gen_if_stmt(self, code):
' '
true_block = self.new_block()
false_block = self.new_block()
final_block = self.new_block()
self.gen_cond_code(code.condition, true_block, false_block)
self.builder.set_block(true_block)
self.gen_stmt(code.truestatement)
self.emit(ir.Jump(final_block))
... | def gen_if_stmt(self, code):
' '
true_block = self.new_block()
false_block = self.new_block()
final_block = self.new_block()
self.gen_cond_code(code.condition, true_block, false_block)
self.builder.set_block(true_block)
self.gen_stmt(code.truestatement)
self.emit(ir.Jump(final_block))
... |
a1c8881736cf91c1263c7f6e7b60e52905627d033f908b757b91e0dc7c9003e5 | def gen_while(self, code: statements.While):
' Generate code for while statement '
main_block = self.new_block()
test_block = self.new_block()
final_block = self.new_block()
self.emit(ir.Jump(test_block))
self.builder.set_block(test_block)
self.gen_cond_code(code.condition, main_block, final... | Generate code for while statement | ppci/lang/pascal/codegenerator.py | gen_while | kl4w3i/ppci | 161 | python | def gen_while(self, code: statements.While):
' '
main_block = self.new_block()
test_block = self.new_block()
final_block = self.new_block()
self.emit(ir.Jump(test_block))
self.builder.set_block(test_block)
self.gen_cond_code(code.condition, main_block, final_block)
self.builder.set_bloc... | def gen_while(self, code: statements.While):
' '
main_block = self.new_block()
test_block = self.new_block()
final_block = self.new_block()
self.emit(ir.Jump(test_block))
self.builder.set_block(test_block)
self.gen_cond_code(code.condition, main_block, final_block)
self.builder.set_bloc... |
8d397fbbfd0e0c5cfd4722c614926ce5521a58c4c7795429dedfa7ff105cdea3 | def gen_repeat_stmt(self, code: statements.Repeat):
' Generate code for repeat statement. '
main_block = self.new_block()
final_block = self.new_block()
self.emit(ir.Jump(main_block))
self.builder.set_block(main_block)
self.gen_stmt(code.statement)
self.gen_cond_code(code.condition, final_bl... | Generate code for repeat statement. | ppci/lang/pascal/codegenerator.py | gen_repeat_stmt | kl4w3i/ppci | 161 | python | def gen_repeat_stmt(self, code: statements.Repeat):
' '
main_block = self.new_block()
final_block = self.new_block()
self.emit(ir.Jump(main_block))
self.builder.set_block(main_block)
self.gen_stmt(code.statement)
self.gen_cond_code(code.condition, final_block, main_block)
self.builder.s... | def gen_repeat_stmt(self, code: statements.Repeat):
' '
main_block = self.new_block()
final_block = self.new_block()
self.emit(ir.Jump(main_block))
self.builder.set_block(main_block)
self.gen_stmt(code.statement)
self.gen_cond_code(code.condition, final_block, main_block)
self.builder.s... |
c21afa311d0ef35b0e68ec2f9294c4bbd48186fc7802de48428feda34d481010 | def gen_for_stmt(self, code: statements.For):
' Generate for-loop code '
main_block = self.builder.new_block()
increment_block = self.builder.new_block()
final_block = self.builder.new_block()
entry_block = self.builder.block
ty = self.get_ir_int()
one = self.emit(ir.Const(1, 'one', ty))
... | Generate for-loop code | ppci/lang/pascal/codegenerator.py | gen_for_stmt | kl4w3i/ppci | 161 | python | def gen_for_stmt(self, code: statements.For):
' '
main_block = self.builder.new_block()
increment_block = self.builder.new_block()
final_block = self.builder.new_block()
entry_block = self.builder.block
ty = self.get_ir_int()
one = self.emit(ir.Const(1, 'one', ty))
initial_value = self.... | def gen_for_stmt(self, code: statements.For):
' '
main_block = self.builder.new_block()
increment_block = self.builder.new_block()
final_block = self.builder.new_block()
entry_block = self.builder.block
ty = self.get_ir_int()
one = self.emit(ir.Const(1, 'one', ty))
initial_value = self.... |
15b5723c9b7734ef80d1badf61c933ccdd1c40a082bb75ce4e38e9fc3b87e8dc | def gen_case_of_stmt(self, switch: statements.CaseOf):
' Generate code for a case-of statement '
ir_val = self.gen_expr_code(switch.expression, rvalue=True)
tha_type = switch.expression.typ
assert isinstance(tha_type, types.IntegerType)
final_block = self.builder.new_block()
test_block = self.bu... | Generate code for a case-of statement | ppci/lang/pascal/codegenerator.py | gen_case_of_stmt | kl4w3i/ppci | 161 | python | def gen_case_of_stmt(self, switch: statements.CaseOf):
' '
ir_val = self.gen_expr_code(switch.expression, rvalue=True)
tha_type = switch.expression.typ
assert isinstance(tha_type, types.IntegerType)
final_block = self.builder.new_block()
test_block = self.builder.new_block()
self.emit(ir.Ju... | def gen_case_of_stmt(self, switch: statements.CaseOf):
' '
ir_val = self.gen_expr_code(switch.expression, rvalue=True)
tha_type = switch.expression.typ
assert isinstance(tha_type, types.IntegerType)
final_block = self.builder.new_block()
test_block = self.builder.new_block()
self.emit(ir.Ju... |
51d66d4ae2ae76f5311b42d2c56e281dc81a518c41df3d7748848e4e5b121097 | def gen_procedure_call(self, call: statements.ProcedureCall):
' Call a user procedure. '
args = self.gen_subroutine_arguments(call.arguments)
self.emit_procedure_call(call.callee, args) | Call a user procedure. | ppci/lang/pascal/codegenerator.py | gen_procedure_call | kl4w3i/ppci | 161 | python | def gen_procedure_call(self, call: statements.ProcedureCall):
' '
args = self.gen_subroutine_arguments(call.arguments)
self.emit_procedure_call(call.callee, args) | def gen_procedure_call(self, call: statements.ProcedureCall):
' '
args = self.gen_subroutine_arguments(call.arguments)
self.emit_procedure_call(call.callee, args)<|docstring|>Call a user procedure.<|endoftext|> |
26bb7bd5a6c89659c87b49f318c03fadb3847196d09f132cbd137f798726e8db | def gen_cond_code(self, expr: expressions.Expression, bbtrue, bbfalse):
'Generate conditional logic.\n Implement sequential logical operators.'
if isinstance(expr, expressions.Binop):
if (expr.op == 'or'):
second_block = self.builder.new_block()
self.gen_cond_code(expr.a, ... | Generate conditional logic.
Implement sequential logical operators. | ppci/lang/pascal/codegenerator.py | gen_cond_code | kl4w3i/ppci | 161 | python | def gen_cond_code(self, expr: expressions.Expression, bbtrue, bbfalse):
'Generate conditional logic.\n Implement sequential logical operators.'
if isinstance(expr, expressions.Binop):
if (expr.op == 'or'):
second_block = self.builder.new_block()
self.gen_cond_code(expr.a, ... | def gen_cond_code(self, expr: expressions.Expression, bbtrue, bbfalse):
'Generate conditional logic.\n Implement sequential logical operators.'
if isinstance(expr, expressions.Binop):
if (expr.op == 'or'):
second_block = self.builder.new_block()
self.gen_cond_code(expr.a, ... |
09b2cb14d29389f4dc0ecf055f5667df50cce0625e4b913b74541c0bf26f8ca8 | def gen_expr_code(self, expr: expressions.Expression, rvalue=False):
'Generate code for an expression.\n Return the generated ir-value.\n '
assert isinstance(expr, expressions.Expression)
if expr.is_bool:
(value, lvalue) = self.gen_bool_expr(expr)
elif isinstance(expr, expressions.... | Generate code for an expression.
Return the generated ir-value. | ppci/lang/pascal/codegenerator.py | gen_expr_code | kl4w3i/ppci | 161 | python | def gen_expr_code(self, expr: expressions.Expression, rvalue=False):
'Generate code for an expression.\n Return the generated ir-value.\n '
assert isinstance(expr, expressions.Expression)
if expr.is_bool:
(value, lvalue) = self.gen_bool_expr(expr)
elif isinstance(expr, expressions.... | def gen_expr_code(self, expr: expressions.Expression, rvalue=False):
'Generate code for an expression.\n Return the generated ir-value.\n '
assert isinstance(expr, expressions.Expression)
if expr.is_bool:
(value, lvalue) = self.gen_bool_expr(expr)
elif isinstance(expr, expressions.... |
3d1d416a3e3bf3da9cc64085e28514525c25e0c372a5d68eab251168c35bd504 | def gen_dereference(self, expr: expressions.Deref):
' dereference pointer type, which means *(expr) '
assert isinstance(expr, expressions.Deref)
deref_value = self.gen_expr_code(expr.ptr, rvalue=True)
lvalue = True
ptr_typ = self.context.get_type(expr.ptr.typ)
assert isinstance(ptr_typ, types.Po... | dereference pointer type, which means *(expr) | ppci/lang/pascal/codegenerator.py | gen_dereference | kl4w3i/ppci | 161 | python | def gen_dereference(self, expr: expressions.Deref):
' '
assert isinstance(expr, expressions.Deref)
deref_value = self.gen_expr_code(expr.ptr, rvalue=True)
lvalue = True
ptr_typ = self.context.get_type(expr.ptr.typ)
assert isinstance(ptr_typ, types.PointerType)
return (deref_value, lvalue) | def gen_dereference(self, expr: expressions.Deref):
' '
assert isinstance(expr, expressions.Deref)
deref_value = self.gen_expr_code(expr.ptr, rvalue=True)
lvalue = True
ptr_typ = self.context.get_type(expr.ptr.typ)
assert isinstance(ptr_typ, types.PointerType)
return (deref_value, lvalue)<|... |
aa882f990023d08344cd92c8d525d04acc5d620c2be260d62c49794611ed7939 | def gen_unop(self, expr):
' Generate code for unary operator '
if (expr.op == '&'):
(rhs, rhs_lvalue) = self.gen_expr_code(expr.a)
assert rhs_lvalue
lvalue = False
value = rhs
elif (expr.op == '+'):
value = self.gen_expr_code(expr.a, rvalue=True)
lvalue = Fals... | Generate code for unary operator | ppci/lang/pascal/codegenerator.py | gen_unop | kl4w3i/ppci | 161 | python | def gen_unop(self, expr):
' '
if (expr.op == '&'):
(rhs, rhs_lvalue) = self.gen_expr_code(expr.a)
assert rhs_lvalue
lvalue = False
value = rhs
elif (expr.op == '+'):
value = self.gen_expr_code(expr.a, rvalue=True)
lvalue = False
elif (expr.op == '-'):
... | def gen_unop(self, expr):
' '
if (expr.op == '&'):
(rhs, rhs_lvalue) = self.gen_expr_code(expr.a)
assert rhs_lvalue
lvalue = False
value = rhs
elif (expr.op == '+'):
value = self.gen_expr_code(expr.a, rvalue=True)
lvalue = False
elif (expr.op == '-'):
... |
ac1440e919dae1e8bb96cbce0202d83f3b931ec92b66f04b3491192388dfa0f3 | def gen_bool_expr(self, expr):
' Generate code for cases where a boolean value is assigned '
true_block = self.builder.new_block()
false_block = self.builder.new_block()
final_block = self.builder.new_block()
self.gen_cond_code(expr, true_block, false_block)
self.builder.set_block(true_block)
... | Generate code for cases where a boolean value is assigned | ppci/lang/pascal/codegenerator.py | gen_bool_expr | kl4w3i/ppci | 161 | python | def gen_bool_expr(self, expr):
' '
true_block = self.builder.new_block()
false_block = self.builder.new_block()
final_block = self.builder.new_block()
self.gen_cond_code(expr, true_block, false_block)
self.builder.set_block(true_block)
true_val = self.emit(ir.Const(1, 'true', self.get_ir_ty... | def gen_bool_expr(self, expr):
' '
true_block = self.builder.new_block()
false_block = self.builder.new_block()
final_block = self.builder.new_block()
self.gen_cond_code(expr, true_block, false_block)
self.builder.set_block(true_block)
true_val = self.emit(ir.Const(1, 'true', self.get_ir_ty... |
e5587bac44386632ae68936f0f1d74caf8210503a03b7eaa4e807e4e15e95c28 | def gen_binop(self, expr: expressions.Binop):
' Generate code for binary operation '
assert isinstance(expr, expressions.Binop)
assert (expr.op not in expressions.Binop.cond_ops)
a_val = self.gen_expr_code(expr.a, rvalue=True)
b_val = self.gen_expr_code(expr.b, rvalue=True)
assert isinstance(a_v... | Generate code for binary operation | ppci/lang/pascal/codegenerator.py | gen_binop | kl4w3i/ppci | 161 | python | def gen_binop(self, expr: expressions.Binop):
' '
assert isinstance(expr, expressions.Binop)
assert (expr.op not in expressions.Binop.cond_ops)
a_val = self.gen_expr_code(expr.a, rvalue=True)
b_val = self.gen_expr_code(expr.b, rvalue=True)
assert isinstance(a_val, ir.Value)
assert isinstanc... | def gen_binop(self, expr: expressions.Binop):
' '
assert isinstance(expr, expressions.Binop)
assert (expr.op not in expressions.Binop.cond_ops)
a_val = self.gen_expr_code(expr.a, rvalue=True)
b_val = self.gen_expr_code(expr.b, rvalue=True)
assert isinstance(a_val, ir.Value)
assert isinstanc... |
ff40ee6fe8faffc86eabbb3017ade7b5b6465dadc7ebef3fa1f7f0b1303facba | def gen_var_access(self, expr: expressions.VariableAccess):
' Generate code for when an identifier was referenced '
symbol = expr.variable
if isinstance(symbol, symbols.EnumValue):
ty = self.get_ir_type(expr.typ)
value = int(symbol.value)
value = self.emit(ir.Const(value, 'enum_value... | Generate code for when an identifier was referenced | ppci/lang/pascal/codegenerator.py | gen_var_access | kl4w3i/ppci | 161 | python | def gen_var_access(self, expr: expressions.VariableAccess):
' '
symbol = expr.variable
if isinstance(symbol, symbols.EnumValue):
ty = self.get_ir_type(expr.typ)
value = int(symbol.value)
value = self.emit(ir.Const(value, 'enum_value', ty))
lvalue = False
elif isinstance(... | def gen_var_access(self, expr: expressions.VariableAccess):
' '
symbol = expr.variable
if isinstance(symbol, symbols.EnumValue):
ty = self.get_ir_type(expr.typ)
value = int(symbol.value)
value = self.emit(ir.Const(value, 'enum_value', ty))
lvalue = False
elif isinstance(... |
be22907e9331eff955bf304633016dbaa2fb5097cce580a4b31236fb3441ed0e | def gen_member_expr(self, expr):
'Generate code for member expression such as struc.mem = 2'
(base, base_lvalue) = self.gen_expr_code(expr.base)
assert base_lvalue
assert isinstance(base, ir.Value)
lvalue = True
basetype = self.context.get_type(expr.base.typ)
assert isinstance(basetype, type... | Generate code for member expression such as struc.mem = 2 | ppci/lang/pascal/codegenerator.py | gen_member_expr | kl4w3i/ppci | 161 | python | def gen_member_expr(self, expr):
(base, base_lvalue) = self.gen_expr_code(expr.base)
assert base_lvalue
assert isinstance(base, ir.Value)
lvalue = True
basetype = self.context.get_type(expr.base.typ)
assert isinstance(basetype, types.RecordType)
assert basetype.has_field(expr.field)
... | def gen_member_expr(self, expr):
(base, base_lvalue) = self.gen_expr_code(expr.base)
assert base_lvalue
assert isinstance(base, ir.Value)
lvalue = True
basetype = self.context.get_type(expr.base.typ)
assert isinstance(basetype, types.RecordType)
assert basetype.has_field(expr.field)
... |
9ab08fe36baa77b06cb42226374810d4979ae0b018baf5bd4ad842241793555d | def gen_index_expr(self, expr):
' Array indexing '
(base, base_lvalue) = self.gen_expr_code(expr.base)
assert base_lvalue
idx = self.gen_expr_code(expr.index, rvalue=True)
base_typ = self.context.get_type(expr.base.typ)
assert isinstance(base_typ, types.ArrayType)
element_type = self.context... | Array indexing | ppci/lang/pascal/codegenerator.py | gen_index_expr | kl4w3i/ppci | 161 | python | def gen_index_expr(self, expr):
' '
(base, base_lvalue) = self.gen_expr_code(expr.base)
assert base_lvalue
idx = self.gen_expr_code(expr.index, rvalue=True)
base_typ = self.context.get_type(expr.base.typ)
assert isinstance(base_typ, types.ArrayType)
element_type = self.context.get_type(base... | def gen_index_expr(self, expr):
' '
(base, base_lvalue) = self.gen_expr_code(expr.base)
assert base_lvalue
idx = self.gen_expr_code(expr.index, rvalue=True)
base_typ = self.context.get_type(expr.base.typ)
assert isinstance(base_typ, types.ArrayType)
element_type = self.context.get_type(base... |
b380fe852b540aa19df210ebf3d50c17574e49d42182252a5c57cf1e10e2e11a | def gen_literal_expr(self, expr):
' Generate code for literal '
if self.context.equal_types(expr.typ, 'string'):
cval = self.context.pack_string(expr.val)
value = self.emit(ir.LiteralData(cval, 'strval'))
value = self.emit(ir.AddressOf(value, 'addr'))
elif self.context.equal_types(ex... | Generate code for literal | ppci/lang/pascal/codegenerator.py | gen_literal_expr | kl4w3i/ppci | 161 | python | def gen_literal_expr(self, expr):
' '
if self.context.equal_types(expr.typ, 'string'):
cval = self.context.pack_string(expr.val)
value = self.emit(ir.LiteralData(cval, 'strval'))
value = self.emit(ir.AddressOf(value, 'addr'))
elif self.context.equal_types(expr.typ, 'char'):
... | def gen_literal_expr(self, expr):
' '
if self.context.equal_types(expr.typ, 'string'):
cval = self.context.pack_string(expr.val)
value = self.emit(ir.LiteralData(cval, 'strval'))
value = self.emit(ir.AddressOf(value, 'addr'))
elif self.context.equal_types(expr.typ, 'char'):
... |
ab6ddaf99aaa50275c3e82c54b167d6b53c3792e87c69248080e50cfb0485d32 | def gen_type_cast(self, expr):
' Generate code for type casting '
ar = self.gen_expr_code(expr.a, rvalue=True)
lvalue = False
from_type = self.context.get_type(expr.a.typ)
to_type = self.context.get_type(expr.to_type)
if (isinstance(from_type, types.PointerType) and isinstance(to_type, types.Poi... | Generate code for type casting | ppci/lang/pascal/codegenerator.py | gen_type_cast | kl4w3i/ppci | 161 | python | def gen_type_cast(self, expr):
' '
ar = self.gen_expr_code(expr.a, rvalue=True)
lvalue = False
from_type = self.context.get_type(expr.a.typ)
to_type = self.context.get_type(expr.to_type)
if (isinstance(from_type, types.PointerType) and isinstance(to_type, types.PointerType)):
value = ar... | def gen_type_cast(self, expr):
' '
ar = self.gen_expr_code(expr.a, rvalue=True)
lvalue = False
from_type = self.context.get_type(expr.a.typ)
to_type = self.context.get_type(expr.to_type)
if (isinstance(from_type, types.PointerType) and isinstance(to_type, types.PointerType)):
value = ar... |
18236d48e946fca4f429610f543198038419d4aaaed8cd32d7d2facc07126cc3 | def gen_function_call(self, expr: expressions.FunctionCall):
' Generate code for a function call '
assert isinstance(expr, expressions.FunctionCall)
target_func = expr.callee
ftyp = target_func.typ
fname = target_func.name
callee = self.var_map[target_func]
ptypes = ftyp.parameter_types
... | Generate code for a function call | ppci/lang/pascal/codegenerator.py | gen_function_call | kl4w3i/ppci | 161 | python | def gen_function_call(self, expr: expressions.FunctionCall):
' '
assert isinstance(expr, expressions.FunctionCall)
target_func = expr.callee
ftyp = target_func.typ
fname = target_func.name
callee = self.var_map[target_func]
ptypes = ftyp.parameter_types
assert (len(expr.args) == len(pty... | def gen_function_call(self, expr: expressions.FunctionCall):
' '
assert isinstance(expr, expressions.FunctionCall)
target_func = expr.callee
ftyp = target_func.typ
fname = target_func.name
callee = self.var_map[target_func]
ptypes = ftyp.parameter_types
assert (len(expr.args) == len(pty... |
3ce8cbb34d0c42106cb5eaf56d2c2f8e9b9140c9a4be724c70f1fda818ed3383 | def gen_builtin_function_call(self, expr: expressions.BuiltInFunctionCall):
'Generate code for a builtin function call.'
if (expr.func == 'succ'):
(arg,) = expr.args
lhs = self.gen_expr_code(arg, rvalue=True)
one = self.emit(ir.Const(1, 'one', lhs.ty))
res = self.emit(ir.Binop(lh... | Generate code for a builtin function call. | ppci/lang/pascal/codegenerator.py | gen_builtin_function_call | kl4w3i/ppci | 161 | python | def gen_builtin_function_call(self, expr: expressions.BuiltInFunctionCall):
if (expr.func == 'succ'):
(arg,) = expr.args
lhs = self.gen_expr_code(arg, rvalue=True)
one = self.emit(ir.Const(1, 'one', lhs.ty))
res = self.emit(ir.Binop(lhs, '+', one, 'succ', lhs.ty))
elif (expr... | def gen_builtin_function_call(self, expr: expressions.BuiltInFunctionCall):
if (expr.func == 'succ'):
(arg,) = expr.args
lhs = self.gen_expr_code(arg, rvalue=True)
one = self.emit(ir.Const(1, 'one', lhs.ty))
res = self.emit(ir.Binop(lhs, '+', one, 'succ', lhs.ty))
elif (expr... |
96f289eedd282b65b8122c30fa62ffee79d9085486ab6ee4ffe667c9c0733538 | def __init__(self, node):
'Initialize the view, setup the ui and the methods.'
self._node = node
self._context = None
self._setupMethods() | Initialize the view, setup the ui and the methods. | scripts/houdini/DigitalAssets/ZefirReader/View.py | __init__ | RadicalTeapot/nwave | 0 | python | def __init__(self, node):
self._node = node
self._context = None
self._setupMethods() | def __init__(self, node):
self._node = node
self._context = None
self._setupMethods()<|docstring|>Initialize the view, setup the ui and the methods.<|endoftext|> |
a31f6f4234ee2243730f6d205a67a07993ec753c4eacf5580271a180db6a180d | def _setupMethods(self):
'Create the methods to be called when an ui event is called.'
self.loadData = (lambda : None)
self.getUpdate = (lambda : None)
self.setChecked = (lambda parm: None)
self.seqShotChanged = (lambda : None)
self.loadAssetChecked = (lambda category, id: None)
self.assetna... | Create the methods to be called when an ui event is called. | scripts/houdini/DigitalAssets/ZefirReader/View.py | _setupMethods | RadicalTeapot/nwave | 0 | python | def _setupMethods(self):
self.loadData = (lambda : None)
self.getUpdate = (lambda : None)
self.setChecked = (lambda parm: None)
self.seqShotChanged = (lambda : None)
self.loadAssetChecked = (lambda category, id: None)
self.assetnameChanged = (lambda category, id: None)
self.assetStageCh... | def _setupMethods(self):
self.loadData = (lambda : None)
self.getUpdate = (lambda : None)
self.setChecked = (lambda parm: None)
self.seqShotChanged = (lambda : None)
self.loadAssetChecked = (lambda category, id: None)
self.assetnameChanged = (lambda category, id: None)
self.assetStageCh... |
bf0e1989e3266961b8bd2fad1aa05803e455ead14747b86f609e78c300682663 | def _loadData(self):
"Load data from zefir database.\n\n This method is called by the Houdini node when the 'Refresh' button is\n clicked.\n "
self.loadData() | Load data from zefir database.
This method is called by the Houdini node when the 'Refresh' button is
clicked. | scripts/houdini/DigitalAssets/ZefirReader/View.py | _loadData | RadicalTeapot/nwave | 0 | python | def _loadData(self):
"Load data from zefir database.\n\n This method is called by the Houdini node when the 'Refresh' button is\n clicked.\n "
self.loadData() | def _loadData(self):
"Load data from zefir database.\n\n This method is called by the Houdini node when the 'Refresh' button is\n clicked.\n "
self.loadData()<|docstring|>Load data from zefir database.
This method is called by the Houdini node when the 'Refresh' button is
clicked.<|endofte... |
2c7ba9412aa21f14363504287fcb056f17c266819d4b25aea88371e247e8bd23 | def _getUpdate(self):
"Extract the path to alembic files for selected assets.\n\n This method is called by the Houdini node when the 'Get / Update'\n button is clicked.\n "
self.getUpdate() | Extract the path to alembic files for selected assets.
This method is called by the Houdini node when the 'Get / Update'
button is clicked. | scripts/houdini/DigitalAssets/ZefirReader/View.py | _getUpdate | RadicalTeapot/nwave | 0 | python | def _getUpdate(self):
"Extract the path to alembic files for selected assets.\n\n This method is called by the Houdini node when the 'Get / Update'\n button is clicked.\n "
self.getUpdate() | def _getUpdate(self):
"Extract the path to alembic files for selected assets.\n\n This method is called by the Houdini node when the 'Get / Update'\n button is clicked.\n "
self.getUpdate()<|docstring|>Extract the path to alembic files for selected assets.
This method is called by the Houd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.