Documentation ¶
Overview ¶
Copyright 2017 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func ActivateSerial(clli string, slotNumber int, portNumber int, ontNumber int, ...) (bool, error)
- func ChangeXOSUserPassword(clli string, xosUser string, xosPassword string) (bool, error)
- func CreateChassis(clli string, xosAddress net.TCPAddr, xosUser string, xosPassword string, ...) (string, error)
- func CreateOLTChassis(clli string, oltType string, driver string, address net.TCPAddr, ...) (string, error)
- func DeleteOnt(clli string, slotNumber int, portNumber int, ontNumber int, ...) (bool, error)
- func DoOutput() (bool, error)
- func Echo(ping string) (string, error)
- func PreProvisionOnt(clli string, slotNumber int, portNumber int, ontNumber int, cTag uint32, ...) (bool, error)
- func ProvisionOnt(clli string, slotNumber int, portNumber int, ontNumber int, ...) (bool, error)
- func ProvisionOntFull(clli string, slotNumber int, portNumber int, ontNumber int, ...) (bool, error)
- func Reflow() (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateSerial ¶
func ActivateSerial(clli string, slotNumber int, portNumber int, ontNumber int, serialNumber string) (bool, error)
ActivateSerial - provisions ont using sTag,cTag,NasPortID, and CircuitID generated internally
func ChangeXOSUserPassword ¶
ChangeXOSUserPassword - allows update of xos credentials
func CreateChassis ¶
func CreateChassis(clli string, xosAddress net.TCPAddr, xosUser string, xosPassword string, shelf int, rack int) (string, error)
CreateChassis - allocates a new Chassis struct and stores it in chassisMap
func CreateOLTChassis ¶
func CreateOLTChassis(clli string, oltType string, driver string, address net.TCPAddr, hostname string) (string, error)
CreateOLTChassis adds an OLT chassis/line card to the Physical chassis
func DeleteOnt ¶
func DeleteOnt(clli string, slotNumber int, portNumber int, ontNumber int, serialNumber string) (bool, error)
DeleteOnt - deletes a previously provision ont
func PreProvisionOnt ¶
func PreProvisionOnt(clli string, slotNumber int, portNumber int, ontNumber int, cTag uint32, sTag uint32, nasPortID string, circuitID string, techProfile string, speedProfile string) (bool, error)
PreProvisionOnt - provisions ont using sTag,cTag,NasPortID, and CircuitID passed in
func ProvisionOnt ¶
func ProvisionOnt(clli string, slotNumber int, portNumber int, ontNumber int, serialNumber string) (bool, error)
ProvisionOnt - provisions ont using sTag,cTag,NasPortID, and CircuitID generated internally
Types ¶
This section is empty.